Page tree
Skip to end of metadata
Go to start of metadata

What is RStudio Server?

RStudio Server provides a web-based integrated development environment (IDE) for R. It can be accessed using a browser on basically any device with internet access. It offers a convenient interface for developing and running R (and other) scripts on LRZ systems. In addition to an R console and editor, it provides, amongst other features, a file browser for analyzing results and plots or transferring files between the LRZ Linux Cluster and your local device.

Getting Started

In order to use the RStudio Server at LRZ please visit www.rstudio.lrz.de
When asked to authenticate, please use your LRZ Linux Cluster account to log in.

Access

RStudio Server at LRZ is a service associated with the LRZ Linux Cluster. If you already have an account for the Linux Cluster, you can use the corresponding user name and password to access the RStudio Server. Otherwise, you will have to request access to the Linux Cluster first (see Access and Login to the Linux Cluster)

Linux Cluster Integration

RStudio Server provides a file browser which can (in the default setup) be found as 'Files' tab in the bottom right pane of the web interface. It can be used to access the data in your DSS-based Linux Cluster home directory ($HOME). The previous, NAS-based home directory can be accessed as well ($HOME_LEGACY). Access to the latter is restricted to read-only and it will not be available after December 2019.

DSS based storage containers - including the new DSS-based project containers - can also be accessed using RStudio Server. To do so, the data curator of the DSS container has to create an appropriate NFS export. For RStudio Server, the IP addresses 10.156.112.9, 10.156.112.25 and 10.156.112.26 have to be specified as export targets. The general procedure is described here (section 11) - please note that this is currently requiring use of the DSS command line client (see section 1.2 here).

If previously set up for your LRZ project, you can also navigate your legacy NAS-based project directory ($LEGACY_PROJECT or $LEGACY_WORK). At this point, access is restricted to read-only and it will not be available after December 2019.

You can also use the built-in Terminal to submit jobs to the Linux Cluster's serial and batch queues via the Slurm Workload Manager (see Job Processing on the Linux-Cluster). Currently, you have to disable websocket support for the terminal to work properly: "Tools" → "Global Options..." → "Terminal", untick "Connect with WebSockets".

R Package Management

You can install your own R packages in the usual way using the install.packages()-function or the 'Packages' tab in the bottom right pane of the web interface. RStudio will ask you whether to install these packages into a personal library which it will, per default, create in your Linux Cluster home directory ($HOME). Beware that this is a different package library than on the Linux Cluster login and compute nodes. Make sure to install needed packages in both environments if you plan to submit jobs to the Linux Cluster compute nodes.

Support


  • No labels