RStudio

From ScientificComputing
Jump to: navigation, search

Category

Development, IDE, Mathematics, Statistics

Description

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.

Available versions (Euler, old software stack)

Legacy versions Supported versions New versions
0.99.669

Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.

Environment modules (Euler, old software stack)

Version Module load command Additional modules loaded automatically
0.99.669 module load new legacy gcc/4.8.2 mesa/12.0.6 rstudio/0.99.669 r/3.2.2 openblas/0.2.13_seq qt/5.5.0 boost/1.55.0 java/1.7.0_51

Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.

Interactive session

In order to start an interactive RStudio session on one of the login nodes, you would first need to connect to the cluster with X11 forwarding enabled. Afterwards you need to load the modules required by RStudio and then you can start the session with the command rstudio.
[sfux@eu-login-08 ~]$ module load new legacy gcc/4.8.2 mesa/12.0.6 rstudio/0.99.669
Autoloading openblas/0.2.13_seq
Using OpenBLAS build of R-3.2.2
[sfux@eu-login-08 ~]$ rstudio
Please note that you should not run any R jobs directly out of RStudio. If you would like to run an R job, then you need to submit it through the batch system.

How to submit a job

If you would like to run an R script that you created within RStudio, then please save the script and run it as R job in batch mode. Running your R scripts directly on the login node would overload them, as they are shared among all cluster users.

License information

AGPLv3

Links

https://www.rstudio.com

https://en.wikipedia.org/wiki/RStudio
https://blog.rstudio.org
https://twitter.com/rstudio?lang=de
https://www.youtube.com/channel/UCAeWj0GhZ94wuvOIYu1XVrg