Skip to content

Rstudio

Rstudio is an IDE for R a language used for statistical programming and data science. The bundle also includes R with some often used packages preinstalled. The following versions are installed:

Software Version
Rstudio 2024.09.1+394
R 4.4.2
BiocVersion 1.30.25
dbplyr 2.5.0
devtools 2.4.5
doParallel 1.0.17
dplyr 1.1.4
ggplot2 3.5.1
reshape2 1.4.4
tidyverse 2.0.0

Usage example

Rstudio can be run by loading the module and running the rstudio command:

module load rstudio
rstudio

Similarly R and Rscript can be run directly.

R

The rstudio_shell command can be used for low-level access to the shell.

rstudio_shell

R scripts can be submitted to the cluster using the submit command. The first step is to create and enable the projectrc. This step needs to be done only once. In the project directory, run the following commands:

echo rstudio >> .modules
ern project enable

The command below submits a job, to the cluster, requests 16 threads and 64gb of RAM, and runs an R script.

submit --profile=vnc --name=Example --threads=16 --memory=64gb --input="*.csv" \
--input="example.R" --command=Rscript -- example.R

Performance notes

No performance notes available

No recommended resources available

Benchmarks

No benchmarks available.

Community guides and tutorials

  • No community guides available.

Official site and documentation

Licensing information

Rstudio is licensed under the GNU Affero General Public License v3.

Primary citation

External guides and resources

  • If you know of a guide/tutorial that you have found useful, please help us share it by contacting the HPC staff at hpc@ufs.ac.za