Explicitly installed R packages are here: 
https://github.com/sagemath/sagecell/blob/master/contrib/vm/container_manager.py#L255

If there is something else that you need - test is on sagecell.sagemath.org 
and let me know if it does not work. In general, anything that can be 
installed in a standard way can be added. While explicit versions and 
custom commands tend to be too fragile to maintain.

Best,
Andrey

On Thursday, 24 July 2025 at 23:15:39 UTC+3 [email protected] wrote:

> Hi Andrey,
>
> Thank you for your response, and I apologize for the delay in getting back 
> to you.
>
> I'm part of an intern team working on a new book for Runestone Interactive 
> that uses many Sage cells. The PreTeXt guide mentioned this group as the 
> place to ask which libraries are allowed within Sage cells.
>
> At the time of my original message, I was asking whether the xml2 and 
> readxl libraries in R were available, as we were looking to read .xlsx 
> files through Sage blocks. Since then, we've discovered that readxl works, 
> so that part is resolved!
>
> We'd like to understand which R libraries are pre-installed or usable in 
> the Sage cell environment. We realize libraries can't be installed at 
> runtime, so we want to work within the available set.
>
> For reference, here's the link to the PreTeXt guide that brought us here:
> https://pretextbook.org/doc/guide/html/topic-sage.html
>
> Thanks again for your help!
>
> Best,
> Austin Gatewood
>
> On Friday, July 18, 2025 at 2:19:53 AM UTC-5 [email protected] wrote:
>
>> Hi Austin!
>>
>> I would certainly try to make it work if possible, but can you please 
>> clarify what does it mean to whitelist xml2 and readxl? Whitelisting refers 
>> to specific sites that cells are allows to connect to, e.g. github.com. 
>> Which sites are needed for your purposes and how it can be checked that 
>> your code works?
>>
>> Best,
>> Andrey
>>
>> On Friday, 18 July 2025 at 10:17:08 UTC+3 [email protected] wrote:
>>
>>> Hello, 
>>>
>>> I am a part of an intern team at Runestone Interactive, where we are 
>>> making a new book with thousands of Sage cells. We would like to know if 
>>> the xml2 and or readxl are whitelisted. I appreciate your help,
>>>
>>> Austin :)
>>>
>>

-- 
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 visit 
https://groups.google.com/d/msgid/sage-cell/b331b8a9-2b27-4462-913e-7c7eed6953f2n%40googlegroups.com.

Reply via email to