User Tools

Site Tools


r-software

This is an old revision of the document!


Table of Contents

R

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

Information

Usage

See versions of R that are available:

$ module avail R

Load one version into your environment and run it:

$ module load R/3.5
$ R

Here is a good resource on installing R packages into user libraries.

Installation

Notes from the sysadmin during installation:

$ cd /tmp
$ wget https://cran.r-project.org/src/base/R-3/R-3.5.2.tar.gz
$ tar xf R-3.5.2.tar.gz
$ cd R-3.5.2
$ sudo yum install gcc-gfortran gcc-c++ libX11-devel libXaw-devel bzip2-devel libcurl-devel xz-devel readline-devel
$ ./configure --enable-R-shlib --prefix=/export/apps/R/3.5
$ make -j4
$ sudo mkdir -p /export/apps/R/3.5
$ sudo chown aorth:aorth /export/apps/R/3.5
$ make install
$ sudo chown -R root:root /export/apps/R/3.5
$ sudo yum remove gcc-gfortran gcc-c++ libX11-devel libXaw-devel bzip2-devel libcurl-devel xz-devel readline-devel
r-software.1548415749.txt.gz · Last modified: 2019/01/25 14:29 by aorth