RStudio 2016

From HPC users
Jump to navigationJump to search

Introduction

RStudio is an integrated development environment (IDE) for the R programming language. Some of its features include:

  • Customizable workbench with all of the tools required to work with R in one place (console, source, plots, workspace, help, history, etc.).
  • Syntax highlighting editor with code completion.
  • Execute code directly from the source editor (line, selection, or file).
  • Full support for authoring Sweave and TeX documents. ¹

RStudio is available as server or desktop versions. On this cluster, the desktop version is installed.

Installed version(s)

This version is installed and currently available on environment hpc-env/6.4:

RStudio/1.2.5019-intel-2018a

Using RStudio

To use RStudio, you need to be sure to have X11 forwarding enabled. if you logg in using Linux, you just have to set the option -X on your ssh command, e.g.:

ssh abcd1234@carl.hpc.uni-oldenburg.de -X

On windows, it depends on the software you use to get a ssh connection to the cluster. On programs like MobaXterm, you should be able to tick in the option 'X11-forwarding'

If you want to find out more about RStudio on the HPC cluster, you can use the command

module spider RStudio

This will show you basic informations e.g. a short description and the currently installed version.


To load the desired version of the module, use the command, e.g.

module load hpc-env 6.4
module load RStudio

Always remember: this command is case sensitive!

Please have in mind, that the login nodes are just for running small scripts and for time-constrained testing purposes. Should you need to do time consuming calculations with the RStudi GUI, please create a interactive session.

Documentation

For RStudio there is a manual archive available on theyr website.