r-software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
r-software [2017/04/23 11:21] – aorth | r-software [2022/05/27 06:32] – aorth | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Information ===== | ===== Information ===== | ||
- | * Latest version: 3.4.0 | + | * Version: 4.2 (4.2.0) |
* Added: February, 2015 | * Added: February, 2015 | ||
- | * Updated: | + | * Updated: |
- | * Link: http:// | + | * Link: https:// |
===== Usage ===== | ===== Usage ===== | ||
- | === See versions of R which are available | + | See which versions |
- | < | + | < |
- | ===== Installation ====== | + | Load one version into your environment |
- | Notes from the sysadmin during installation (also covers the installation of zlib, bzip2, xz, pcre, and curl, as they are needed by R since ~3.3.x): | + | < |
+ | $ R</ | ||
- | < | + | Use '' |
- | $ wget http://zlib.net/zlib-1.2.11.tar.xz | + | |
- | $ tar xf zlib-1.2.11.tar.xz | + | |
- | $ cd zlib-1.2.11 | + | |
- | $ sudo rm -rf /export/apps/zlib/1.2.11 | + | |
- | $ sudo mkdir -p /export/apps/zlib/1.2.11 | + | |
- | $ sudo chown aorth / | + | |
- | $ ./configure --prefix=/ | + | |
- | $ make | + | |
- | $ make check | + | |
- | $ make install | + | |
- | $ sudo chown -R root:root / | + | |
- | $ cd /tmp | + | ===== Installation ====== |
- | $ wget http:// | + | Notes from the sysadmin during installation. |
- | $ tar xf bzip2-1.0.6.tar.gz | + | |
- | $ cd bzip2-1.0.6 | + | |
- | $ sudo mkdir -p / | + | |
- | $ sudo chown aorth / | + | |
- | $ make -f Makefile-libbz2_so | + | |
- | $ make install PREFIX=/ | + | |
- | $ sudo chown -R root:root / | + | |
- | $ cd /tmp | + | First, compile the main R application: |
- | $ wget https:// | + | |
- | $ tar xf xz-5.2.3.tar.xz | + | |
- | $ cd xz-5.2.3 | + | |
- | $ sudo mkdir -p / | + | |
- | $ sudo chown aorth / | + | |
- | $ ./configure --prefix=/ | + | |
- | $ make | + | |
- | $ make check | + | |
- | $ make install | + | |
- | $ sudo chown -R root:root / | + | |
- | $ cd /tmp | + | < |
- | $ wget http://downloads.sourceforge.net/pcre/pcre-8.40.tar.bz2 | + | $ wget https://cran.r-project.org/src/base/R-4/R-4.2.0.tar.gz |
- | $ tar xf pcre-8.40.tar.bz2 | + | $ tar xf R-4.2.0.tar.gz |
- | $ cd pcre-8.40 | + | $ cd R-4.2.0 |
- | $ sudo mkdir -p / | + | $ ./ |
- | $ sudo chown aorth / | + | $ chrt -b 0 make -j4 |
- | $ ./configure --prefix=/ | + | $ sudo mkdir / |
- | $ make | + | $ sudo chown aorth: |
- | $ make check | + | $ make install</code> |
- | $ make install | + | |
- | $ sudo chown -R root: | + | |
- | $ cd /tmp | + | Then install |
- | $ tar xf curl-7.54.0.tar.gz | + | |
- | $ cd curl-7.54.0 | + | |
- | $ sudo mkdir -p / | + | |
- | $ sudo chown aorth / | + | |
- | $ ./configure --enable-ipv6 --prefix=/ | + | |
- | $ make | + | |
- | $ make check | + | |
- | $ make install | + | |
- | $ sudo chown -R root:root / | + | |
- | $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: | + | < |
- | $ wget https:// | + | # > Sys.setenv(MAKEFLAGS = " |
- | $ tar xf R-3.4.0.tar.gz | + | > options(Ncpus = 4) # This does 4 parallel package installs |
- | $ cd R-3.4.0 | + | > install.packages(' |
- | $ sudo mkdir -p /export/ | + | > install.packages(" |
- | $ sudo chown aorth /export/ | + | > install.packages(" |
- | $ ./configure --enable-R-shlib --prefix=/ | + | > install.packages(" |
- | $ make -j4 | + | > install.packages("poppr", |
- | $ make install | + | > install.packages(" |
- | $ sudo chown -R root:root / | + | > install.packages(" |
- | $ exit</ | + | > library(devtools) |
+ | > install_github(" | ||
+ | > install_github(" | ||
+ | > q() | ||
+ | $ sudo chown -R root:root / |
r-software.txt · Last modified: 2023/07/12 06:39 by aorth