Sage R whitelist documentation request.

25 views
Skip to first unread message

Austin Gatewood

unread,
Jul 18, 2025, 3:17:08 AMJul 18
to sage-cell
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 :)

Andrey Novoseltsev

unread,
Jul 18, 2025, 3:19:53 AMJul 18
to sage-cell
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

Austin Gatewood

unread,
Jul 24, 2025, 4:15:39 PMJul 24
to sage-cell

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

Andrey Novoseltsev

unread,
Jul 24, 2025, 4:21:31 PMJul 24
to sage-cell

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
Reply all
Reply to author
Forward
0 new messages