Table of Contents

R

R is a free software environment for statistical computing and graphics.

Information

Usage

See which versions are available:

$ module avail R

Load one version into your environment and run it:

$ module load R/4.5
$ R

Use installed.packages() to check the list of packages installed in the ILRI environment by default. Here is a good resource on installing R packages into user libraries if you need other packages.

Installation

Notes from the sysadmin during installation.

$ cd /tmp
$ wget https://cran.r-project.org/src/base/R-4/R-4.5.2.tar.xz
$ tar xf R-4.5.2.tar.xz
$ cd R-4.5.2
$ sudo dnf install tcl-devel tk-devel
$ ./configure --enable-R-shlib --prefix=/export/apps/R/4.5
$ nice make -j4
$ sudo mkdir /export/apps/R/4.5
$ sudo chown aorth /export/apps/R/4.5
$ make install
$ sudo chown -R root:root /export/apps/R/4.5