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
- Version: 3.5.2
- Added: February, 2015
- Updated: January, 2019
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-c++ libX11-devel libXaw-devel bzip2-devel libcurl-devel xz-devel readline-devel
Note to future Alan: don't remove gcc-gfortran
after the install because some users need it!
r-software.1548697923.txt.gz · Last modified: 2019/01/28 17:52 by aorth