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. We recommend using the Graphical Session on HPC OnDemand.
RStudio Server is also available through HPC OnDemand web interface. For more information, check out the documentation here.
Connect to Biowulf using a Graphical Session on HPC OnDemand, then open a terminal:
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=10g --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 15323416 salloc.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 &