researchcloud-items

Installation scripts for SURF ResearchCloud catalog components

View the Project on GitHub UtrechtUniversity/researchcloud-items

Playbook RStudio Server

back to index

Summary

This role installs RStudio Server, an open-source IDE for R programming. It integrates RStudio Server within a JupyterHub environment, enabling users to access the IDE via their browsers. Login via SRAM. The playbook also adds the r2u apt repository for precompiled CRAN packages reducing installation time of R packages.

The playbook supports two modes of operation:

  1. Standalone mode: RStudio Server runs independently of JupyterLab. Users are immediately directed to RStudio.
  2. Non-standalone mode: RStudio Server is configured as a JupyterLab extension and can be launched by users within the JupyterLab interface, which they see when they login to the wroskpace. This mode integrates RStudio seamlessly into a multi-application JupyterHub setup.

Security note

In both modes, RStudio Server instances are spawned by JupyterHub and run under the user’s credentials. Each user has an isolated instance, ensuring data separation. RStudio is run using a Unix Domain Socket, ensuring that users with shell access cannot directly connect to another user’s server.

Variables

See also

History

2026 Written by Dawa Ometto (Utrecht University).

back to index