R and Rstudio Server

R is a programming language and software environment for statistical computing and graphics. R offers a wide variety of statistics-related libraries and provides a favorable environment for statistical computing and design. In addition, the R programming language gets used by many quantitative analysts as a programming tool since it's useful for data importing and cleaning.

To see different versions of R installed on the cluster, run the command:

$ module avail -l R/

You can obtain R in your environment by loading the R module for the version you want, i.e.:

$ module load R/4.4.2

Once the module is loaded, you can run R like usual:

$ R

To check available libraries and packages within R, use the following command:

library(library-name) OR installed.packages()

You can install additional R packages with the normal method:

install.packages("package-name")

RStudio Server 

RStudio Server enables you to provide a browser-based interface to a version of R running on a remote Linux server, bringing the power and productivity of the RStudio IDE to server-based deployments of R. RStudio Server is available through Open OnDemand on select clusters. See https://docs.hpc.ucdavis.edu/software/ondemand/ for more information.