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/24 10:05] – aorth | r-software [2023/05/16 18:26] – aorth | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Information ===== | ===== Information ===== | ||
- | * Latest version: 3.3.3 | + | * Version: 4.3 (4.3.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 |
- | < | + | < |
- | A good resource on installing | + | Load one version into your environment and run it: |
+ | < | ||
+ | $ R</ | ||
+ | |||
+ | Use '' | ||
===== Installation ====== | ===== Installation ====== | ||
- | Notes from the sysadmin during installation | + | Notes from the sysadmin during installation. |
+ | |||
+ | First, compile | ||
< | < | ||
- | $ wget http://zlib.net/zlib-1.2.11.tar.xz | + | $ wget https://cran.r-project.org/src/base/R-4/R-4.3.0.tar.gz |
- | $ tar xf zlib-1.2.11.tar.xz | + | $ tar xf R-4.3.0.tar.gz |
- | $ cd zlib-1.2.11 | + | $ cd R-4.3.0 |
- | $ ./configure --prefix=/export/apps/ | + | $ ./configure |
- | $ make | + | $ chrt -b 0 make -j4 |
- | $ make check | + | $ sudo mkdir / |
- | $ sudo mkdir -p /export/ | + | $ sudo chown aorth:aorth / |
- | $ sudo chown aorth / | + | $ make install</code> |
- | $ make install | + | |
- | $ sudo chown -R root:root / | + | |
- | + | ||
- | $ cd /tmp | + | |
- | $ wget http:// | + | |
- | $ tar xf bzip2-1.0.6.tar.gz | + | |
- | $ cd bzip2-1.0.6 | + | |
- | $ make -f Makefile-libbz2_so | + | |
- | $ sudo mkdir -p / | + | |
- | $ sudo chown aorth / | + | |
- | $ make install PREFIX=/export/ | + | |
- | $ sudo chown -R root:root / | + | |
- | + | ||
- | $ cd /tmp | + | |
- | $ wget https:// | + | |
- | $ tar xf xz-5.2.3.tar.xz | + | |
- | $ cd xz-5.2.3 | + | |
- | $ ./ | + | |
- | $ make | + | |
- | $ make check | + | |
- | $ sudo mkdir -p / | + | |
- | $ sudo chown aorth / | + | |
- | $ make install | + | |
- | $ sudo chown -R root: | + | |
- | + | ||
- | $ cd /tmp | + | |
- | $ wget http:// | + | |
- | $ tar xf pcre-8.40.tar.bz2 | + | |
- | $ cd pcre-8.40 | + | |
- | $ ./configure --prefix=/ | + | |
- | $ make | + | |
- | $ make check | + | |
- | $ sudo mkdir -p / | + | |
- | $ sudo chown aorth / | + | |
- | $ make install | + | |
- | $ sudo chown -R root: | + | |
- | $ cd /tmp | + | Then install |
- | $ tar xf curl-7.54.0.tar.gz | + | |
- | $ cd curl-7.54.0 | + | |
- | $ ./configure --enable-ipv6 --prefix=/ | + | |
- | $ make | + | |
- | $ make check | + | |
- | $ sudo mkdir -p / | + | |
- | $ sudo chown aorth / | + | |
- | $ make install | + | |
- | $ sudo chown -R root:root / | + | |
- | $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: | + | < |
- | $ wget https:// | + | # > Sys.setenv(MAKEFLAGS |
- | $ tar xf R-3.3.3.tar.gz | + | > options(Ncpus = 4) # This does 4 parallel package installs |
- | $ cd R-3.3.3 | + | > install.packages(' |
- | $ ./configure --enable-R-shlib --prefix=/export/apps/R/3.3.3 | + | > install.packages(" |
- | $ make -j4 | + | > install.packages(" |
- | $ make install | + | > install.packages(" |
- | $ sudo mkdir -p /export/ | + | > install.packages(" |
- | $ sudo chown aorth /export/ | + | > 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