High-Performance Computing at the NIH
GitHub YouTube @nih_hpc RSS Feed
RStudio on Biowulf and Helix
RStudio Logo

RStudio is an integrated development environment (IDE)for R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.

Because it is a IDE, you will be unable to submit batch or swarm jobs on biowulf. You can request an interactive node though.

On Helix

To use Rstudio on either system, you must load the module There are several RStudio modules available. To see a list of modules, type

module avail Rstudio

To load the default version of RStudio, type

module load Rstudio

RStudio IDE

To run RStudio, an X Windows connection is required. NoMachine's NX is the X-Windows client currently recommended by staff for Windows and Mac users.

Running RStudio interactively

If you want to run your job interactively, you can allocate a node for interactive use. Once the node is allocated, you can type commands directly on the command-line. Example:

[user@biowulf ~]$ sinteractive
salloc.exe: Pending job allocation 15323416
salloc.exe: job 15323416 queued and waiting for resources
salloc.exe: job 15323416 has been allocated resources
salloc.exe: Granted job allocation 15323416salloc.exe: Waiting for resource configuration
salloc.exe: Nodes cn1640 are ready for job
[user@cn1640 ~]$ module load Rstudio
[user@cn1640 dir]$ rstudio&

If you need more memory than the default 4 GB, use sinteractive --mem=#g