RStudio

Overview

RStudio is a user interface and development environment for R, the statistical computing environment.

Version 1.1.463 is installed on the CSF.

Restrictions on use

There are no restrictions on access the software on the CSF. It is released under the AGPL license and all use must adhere to that license.

Set up procedure

RStudio requires you to have logged in to the CSF with X11 forwarding enabled. For more information please see our guide to logging in for GUI app usage.

We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this. Alternatively, you may load modulefiles on the login node and let the job inherit these settings.

Load one of the following modulefiles:

module load apps/binapps/rstudio/2022.07.2-any-r # Requires you to have already loaded an R modulefile

module load apps/binapps/rstudio/1.1.463         # Will automatically load the latest R modulefile

module load apps/binapps/rstudio/1.1.463-any-r   # Requires you to have already loaded an R modulefile

Please see our R page for more information on the available versions of R.

Running the application

Please do not run rstudio on the login node. Jobs should be run interactively on a compute node using the qrsh command.

Serial interactive job submission

Once you have loaded the modulefile use the following command to start RStudio:

qrsh -l short -cwd -V rstudio
  #
  # interactive jobs must be limited to 'short' (1 hour) resources

If you are new to RStudio, try running the following command in the console section of the interface:

demo(graphics)

This will cycle through various graphics demos.

Further info

Updates

None.

Last modified on November 4, 2022 at 3:33 pm by Ben Pietras