RStudio 2016

From HPC users
Revision as of 12:44, 25 March 2021 by Schwietzer (talk | contribs) (→‎Using RStudio)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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

RStudio/1.4.1106-foss-2019b-Java-11-R-4.0.2

Using RStudio

To use RStudio, you need to be sure to have X11 forwarding enabled.
If you login 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'


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.


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/8.3
module load RStudio

Always remember: this command is case sensitive!

Documentation

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