Hi Andrey,

Thank you for solving an issue. Tested and libraries seem to be working
consistently.

Kind regards,

Elimboto

On Mon, Apr 19, 2021 at 11:14 PM Andrey Novoseltsev <[email protected]>
wrote:

> Hi Elimboto,
>
> Turns out one of the servers didn't install these packages, thank you for
> your persistent complaints, should be working now!
>
> Andrey
>
> On Wed, Apr 7, 2021 at 2:37 PM Elimboto Yohana <[email protected]> wrote:
>
>> This error keeps coming up. library(ggplot2) yields the following error
>> message (similarly for other R packages, e.g., deSolve):
>>
>> ---------------------------------------------------------------------------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
>>
>>
>> On Wed, Apr 7, 2021 at 8:22 AM Elimboto Yohana <[email protected]> wrote:
>>
>>> Hi Andrey,
>>>
>>> This has been inconsistent, sometimes it works, sometimes not. I have
>>> been getting such an error by just importing the library only:
>>> library(ggplot2), library(deSolve). It is somehow stable currently.
>>>
>>> Kind regards,
>>>
>>> Elimboto
>>>
>>>
>>> On Tue, Apr 6, 2021 at 8:32 PM Andrey Novoseltsev <[email protected]>
>>> wrote:
>>>
>>>> On Tue, Apr 6, 2021 at 4:17 AM Elimboto Yohana <[email protected]> wrote:
>>>>
>>>>> 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!
>>>>>
>>>>
>>>> No idea - it works fine for me on your site as well. Can you give
>>>> detailed steps to reproduce the error?
>>>>
>>>> --
>>>> 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 [email protected].
>>>> 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
>>>> <https://groups.google.com/d/msgid/sage-cell/CAD0_dC7_i1HE%3DLM5uYpi0BMcKjSZD_-6FcHVh_LLfy37%3DZpV9A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-cell/CAD0_dC4RqKuQ2JP3RV3nTMZmuG8PPYj%2BnmRkDV_WpA8kVwJAdQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-cell/CAD0_dC4RqKuQ2JP3RV3nTMZmuG8PPYj%2BnmRkDV_WpA8kVwJAdQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/CACEZTmsb9XymA%3DbfrU1bj5Aa3eAzrEtpr0OoWqYhn%2BHx2EOJ9g%40mail.gmail.com.

Reply via email to