Click for detailed status
R Studio
RStudio can be selected when starting the Jupyter server in the option Software. To start a RStudio session, you will need to have access to Apptainer. If you need to load some modules before starting RStudio, you can create the file ~/.config/euler/jupyterhub/config_r_studio (bash script).
Credentials¶
The credentials are provided in ~/.rstudio/.password.
Switching RStudio version¶
RStudio runs in an Apptainer container, therefore you cannot change the version by loading a different R module.
But you can set the tag for the docker image to be used by this service. The available tags are listed on docker hub
To set a tag for the docker image, you need to create the file
and add following line specifying an existing tag for RStudio (in this example we use version 4.5.1)
Downloading container with new RStudio version
When you change the version of RStudio then the new container needs to be downloaded when requesting the first RStudio session after changing the config file. For this, we recommend to request 16 cores and a total of 16 GB of memory.
Installing a package¶
You will need to setup the proxy before installing anything:
Sys.setenv(https_proxy="http://proxy.service.consul:3128")
Sys.setenv(http_proxy="http://proxy.service.consul:3128")
For more information about accessing and using RStudio through JupyterHub, see the complete services documentation.