r-software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
r-software [2020/12/13 08:01] – aorth | r-software [2025/05/12 12:27] (current) – aorth | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Information ===== | ===== Information ===== | ||
- | * Version: 4.0 (4.0.3) | + | * Version: 4.4 (4.4.3) |
* Added: February, 2015 | * Added: February, 2015 | ||
- | * Updated: | + | * Updated: |
* Link: https:// | * Link: https:// | ||
===== Usage ===== | ===== Usage ===== | ||
- | See versions | + | See which versions are available: |
< | < | ||
Load one version into your environment and run it: | Load one version into your environment and run it: | ||
- | < | + | < |
$ R</ | $ R</ | ||
- | Use '' | + | Use '' |
===== Installation ====== | ===== Installation ====== | ||
Notes from the sysadmin during installation. | Notes from the sysadmin during installation. | ||
- | |||
- | First, compile the main R application with GCC 7 from Red Hat's '' | ||
< | < | ||
- | $ wget https:// | + | $ wget https:// |
- | $ cd R-4.0.3 | + | $ tar xf R-4.4.3.tar.xz |
- | # install packages to enable capabilities in R | + | $ sudo dnf install |
- | $ sudo yum install | + | $ ./configure --enable-R-shlib --prefix=/ |
- | # install a newer compiler from Red Hat software collections | + | $ chrt -b 0 make -j4 |
- | $ sudo yum install devtoolset-7-gcc devtoolset-7-gcc-gfortran devtoolset-7-libquadmath-devel devtoolset-7-gcc-c++ | + | $ sudo mkdir / |
- | $ scl enable devtoolset-7 bash | + | $ sudo chown aorth / |
- | # R packages are written in C99 and GCC 7 uses a newer standard by default, so tell configure script to use C99 explicitly | + | $ make install |
- | $ export CFLAGS=' | + | $ sudo chown -R root:root / |
- | $ ./configure --enable-R-shlib --prefix=/ | + | |
- | $ make -j4 | + | |
- | $ sudo mkdir -p / | + | |
- | $ sudo chown aorth:aorth / | + | |
- | $ make install</ | + | |
- | + | ||
- | Then install some common libraries used by our users because some of them are quite complicated, | + | |
- | + | ||
- | < | + | |
- | > install.packages(' | + | |
- | > install.packages(" | + | |
- | > install.packages(" | + | |
- | > install.packages(" | + | |
- | > install.packages(" | + | |
- | > install.packages(" | + | |
- | > q() | + | |
- | $ sudo chown -R root:root / | + |
r-software.1607846494.txt.gz · Last modified: by aorth