The CSF2 has been replaced by the CSF3 - please use that system! This documentation may be out of date. Please read the CSF3 documentation instead. To display this old CSF2 page click here. |
RStudio
Overview
RStudio is a user interface and development environment for R, the statistical computing environment.
Version 0.97.551 is installed.
Restrictions on use
There are no access restrictions as it is free and open source software (AGPLv3 license)
Set up procedure
Rstudio requires an XServer, either running on your computer or via the X2GO (nyx3 or nyx4) virtual desktop, and have enabled X11 forwarding when you logged in to the CSF. For details on all aspects of using GUI applications, logging in with X forwarding and running an X server on Windows please see X-Windows: GUI Based Applications (section 7 of CSF – General User Information).
Once you have logged in with XServer running you will need to load a modulefile:
module load apps/binapps/rstudio/0.97.318
This will automatically load the R 2.15.0 modulefile.
If you wish to choose your version of R to work with then please load that first R and then load:
module load apps/gcc/rstudio/0.97.551-any-r
Running the application
RStudio is an interactive program that must be run via an interactive job. It must not be run directly on the login node.
Serial interactive job submission
Once you have loaded the modulefile use the following command to start RStudio:
qrsh -l inter -l short -cwd -V rstudio # # interactive jobs must be limited to 'short' (1 hour) resources #
Once the RStudio user interface starts try running the following command in the console section if new to RSudio:
demo(graphics)
Further info
RStudio online documentation.