Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

VersionBuild DateInstallation Pathmodulefilecompiler
R 3.5.1 (gcc)06-oct-2018/sw/viz/R/3.5.1R/3.5.1gcc/8.2.0.hlrn
R 3.6.2 (gcc)05-feb-2020/sw/viz/R/3.6.2R/3.6.2gcc/7.5.0
R 4.0.2 (gcc)18-aug-2020/sw/viz/R/4.0.2R/4.0.2gcc/8.3.0
rstudio 0.98.110201-Aug-2014/sw/viz/R/rstudio_01.98.1102R/3.5.11.453

For a manual consult the R home page.

...

For the installation of R-packages by users with the help of rstudio or Rscript, the appropriate compiler module must be loaded in addition to the R-module.

R at HLRN

Modules

Befor starting R, load a modulefile

module load R/version

This provides access to the script R that sets up an environment and starts the R-binary. The corresponding man - and info pages become available.

Info pages: R-admin, R-data, R-exts, R-intro, R-lang, R-admin, R-FAQ, R-ints

As programming environment, rstudio Version 1.1.453 is installed and available, when a module file for R is loaded. rstudio starts the version of R specified with the module file.

Running R on the frontends

This is possible, but the runtime is limited. Be friendly to other users and work on the shared compute nodes!

Running R on the compute nodes

Allocate capacity in the batch system, and log onto the related node:

$ salloc -N 1 -p large:shared
$ squeue --job <jobID>

The output of salloc shows your job ID. The output of squeue shows the a nodename you are going to use.

Now login with X11-forwarding:

$ ssh -X <nodename>

Load a module file and work interactively as usual. When ready, free the ressources:

$ scancel <jobID>

Documentation