Running RStudio

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, debugging, history and workspace management. For more information see RStudio webpage.

To run RStudio, first open an X2Go session (for more information on downloading and running X2Go, please see

Then open a terminal by either clicking on Applications and selecting Terminal Emulator


Or by clicking the Terminal Emulator button on the bottom of the screen

Next, load the version of R that you would like to use (there are two versions available on Koko as of June 2019: 3.5.0 and 3.5.3)

module load r-3.5.3-gcc-7.3.0-udub7o7


If you are unsure which versions are available, you can use

module avail

or you can begin typing

module load r

and then press the Tab key and the available modules beginning with r will be displayed.

Next, load the version of RStudio that you would like to use

module load rstudio/1.0.143

Lastly, you can now run RStudio using srun and X11 forwarding

srun -n1 --x11 rstudio

You may see a Session management error, but that can be ignored for now.

When a node is available for you, a window will popup with RStudio and you can begin to use it (you must leave the terminal open in the background to continue using RStudio)

Posted in How-To-Guides, HPC