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/05/12 18:20] – aorth | r-software [2025/05/12 12:27] (current) – aorth | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== Information ===== | ===== Information ===== | ||
| - | * Version: | + | * Version: |
| * 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:// |
| - | $ tar xf R-3.6.1.tar.gz | + | $ tar xf R-4.4.3.tar.xz |
| - | $ cd R-3.6.1 | + | $ sudo dnf install |
| - | # install packages to enable capabilities in R | + | $ ./configure --enable-R-shlib --prefix=/ |
| - | $ sudo yum install | + | $ chrt -b 0 make -j4 |
| - | # install a newer compiler from Red Hat software collections | + | $ sudo mkdir / |
| - | $ sudo yum install devtoolset-7-gcc devtoolset-7-gcc-gfortran devtoolset-7-libquadmath-devel devtoolset-7-gcc-c++ | + | $ sudo chown aorth / |
| - | $ scl enable devtoolset-7 bash | + | $ make install |
| - | # R packages are written in C99 and GCC 7 uses a newer standard by default, so tell configure script to use C99 explicitly | + | $ sudo chown -R root:root / |
| - | $ export CFLAGS=' | + | |
| - | $ ./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, | + | |
| - | + | ||
| - | < | + | |
| - | $ R | + | |
| - | > install.packages(" | + | |
| - | > install.packages(" | + | |
| - | > install.packages(" | + | |
| - | > install.packages(" | + | |
r-software.1589307649.txt.gz · Last modified: by aorth
