--
You received this message because you are subscribed to the Google Groups "sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-cell+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/d80253c2-626e-4e9e-8103-33abf9042047n%40googlegroups.com.
Thank you for installing deSolve and ggplot2. Why I'm I encountering the runtime error?RRuntimeError: Error in library(ggplot2) : there is no package called ‘ggplot2’
RRuntimeError: Error in library(deSolve) : there is no package called ‘deSolve’But this only happens with "https://www.tssfl.com/programming-and-computing-with-python-right-from-the-forum-6300" and not https://sagecell.sagemath.org!
--
You received this message because you are subscribed to the Google Groups "sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-cell+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/CAD0_dC7_i1HE%3DLM5uYpi0BMcKjSZD_-6FcHVh_LLfy37%3DZpV9A%40mail.gmail.com.
--------------------------------------------------------------------------- RRuntimeError Traceback (most recent call last) <ipython-input-1-0c929c793351> in <module> ----> 1 r.eval("options(bitmapType='cairo')"); print(r.eval("""library(ggplot2)""").strip()) 2 r.eval("graphics.off()"); None /home/sc_serv/sage/local/lib/python3.8/site-packages/sage/interfaces/r.py in eval(self, code, *args, **kwds) 1337 """ 1338 self._lazy_init() -> 1339 return str(robjects.r(code)).rstrip() 1340 1341 /home/sc_serv/sage/local/lib/python3.8/site-packages/rpy2/robjects/__init__.py in __call__(self, string) 414 def __call__(self, string): 415 p = rinterface.parse(string) --> 416 res = self.eval(p) 417 return conversion.rpy2py(res) 418 /home/sc_serv/sage/local/lib/python3.8/site-packages/rpy2/robjects/functions.py in __call__(self, *args, **kwargs) 195 v = kwargs.pop(k) 196 kwargs[r_k] = v --> 197 return (super(SignatureTranslatedFunction, self) 198 .__call__(*args, **kwargs)) 199 /home/sc_serv/sage/local/lib/python3.8/site-packages/rpy2/robjects/functions.py in __call__(self, *args, **kwargs) 123 else: 124 new_kwargs[k] = conversion.py2rpy(v) --> 125 res = super(Function, self).__call__(*new_args, **new_kwargs) 126 res = conversion.rpy2py(res) 127 return res /home/sc_serv/sage/local/lib/python3.8/site-packages/rpy2/rinterface_lib/conversion.py in _(*args, **kwargs) 42 def _cdata_res_to_rinterface(function): 43 def _(*args, **kwargs): ---> 44 cdata = function(*args, **kwargs) 45 # TODO: test cdata is of the expected CType 46 return _cdata_to_rinterface(cdata) /home/sc_serv/sage/local/lib/python3.8/site-packages/rpy2/rinterface.py in __call__(self, *args, **kwargs) 622 error_occured)) 623 if error_occured[0]: --> 624 raise embedded.RRuntimeError(_rinterface._geterrmessage()) 625 return res 626
RRuntimeError: Error in library(ggplot2) : there is no package called ‘ggplot2’
What is wrong?
Kind regards,
Elimboto
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/CAD0_dC4RqKuQ2JP3RV3nTMZmuG8PPYj%2BnmRkDV_WpA8kVwJAdQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/a15961c2-7ce8-4fa8-9d42-a921532b0b8an%40googlegroups.com.
RRuntimeError: Error in library(deSolve) : there is no package called ‘deSolve’
Seems to work now and I have added some code to check that R packages are actually installed, hopefully it will prevent reoccurrences of this issue.
--
You received this message because you are subscribed to the Google Groups "sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-cell+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/62f2ac9d-34bf-4302-bf46-5c8eb51338can%40googlegroups.com.