r-software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
r-software [2017/12/04 08:11] – [Installation] aorth | r-software [2017/12/20 12:18] – aorth | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Usage ===== | ===== Usage ===== | ||
- | === See versions of R which are available | + | See versions of R which are available: |
< | < | ||
+ | |||
+ | Load one version into your environment and run it: | ||
+ | < | ||
+ | $ R</ | ||
Here is a good resource on [[https:// | Here is a good resource on [[https:// | ||
Line 20: | Line 24: | ||
< | < | ||
- | $ wget https://cran.r-project.org/ | + | $ wget http://cran.mirror.ac.za/ |
- | $ tar xf R-3.3.3.tar.gz | + | $ tar xf R-3.4.3.tar.gz |
- | $ cd R-3.3.3 | + | $ cd R-3.4.3 |
$ sudo yum install gcc-gfortran gcc-c++ libX11-devel libXaw-devel bzip2-devel libcurl-devel xz-devel | $ sudo yum install gcc-gfortran gcc-c++ libX11-devel libXaw-devel bzip2-devel libcurl-devel xz-devel | ||
- | $ ./configure --enable-R-shlib --prefix=/ | + | $ ./configure --enable-R-shlib --prefix=/ |
- | $ sudo mkdir / | + | $ make -j4 |
- | $ sudo chown aorth / | + | $ sudo mkdir / |
+ | $ sudo chown aorth / | ||
$ make install | $ make install | ||
- | $ sudo chown -R root:root / | + | $ sudo chown -R root:root / |
r-software.txt · Last modified: 2023/07/12 06:39 by aorth