====== R ======
R is a free software environment for statistical computing and graphics.
===== Information =====
* Version: 4.4 (4.4.3)
* Added: February, 2015
* Updated: May, 2025
* Link: https://www.r-project.org/
===== Usage =====
See which versions are available:
$ module avail R
Load one version into your environment and run it:
$ module load R/4.4
$ R
Use ''installed.packages()'' to check the list of packages installed in the ILRI environment by default. Here is a good resource on [[https://www.osc.edu/resources/available_software/software_list/r#6|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.4.3.tar.xz
$ tar xf R-4.4.3.tar.xz
$ sudo dnf install tcl-devel tk-devel
$ ./configure --enable-R-shlib --prefix=/export/apps/R/4.4
$ chrt -b 0 make -j4
$ sudo mkdir /export/apps/R/4.4
$ sudo chown aorth /export/apps/R/4.4
$ make install
$ sudo chown -R root:root /export/apps/R/4.4