Biowulf High Performance Computing at the NIH
RStudio on Biowulf
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. RStudio is used interactively and requires a graphical connection to biowulf.. Please use the NoMachine NX client to create the graphical connection as it is the most reliable for RStudio.

Running RStudio interactively

Allocate an sinteractive session. It is generally recommended to allocate at least a small amount of lscratch for temporary storage for R.

[user@biowulf ~]$ sinteractive --mem=6g --gres=lscratch:5
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 R
[+] Loading Rstudio 1.1.447 
Remember to load an R module before starting Rstudio
[user@cn1640 dir]$ rstudio &
rstudio window