r-software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
r-software [2019/07/16 06:59] – aorth | r-software [2023/07/12 06:39] (current) – aorth | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Information ===== | ===== Information ===== | ||
- | * Version: 3.5.3 | + | * Version: |
* Added: February, 2015 | * Added: February, 2015 | ||
- | * Updated: July, 2019 | + | * Updated: July, 2023 |
* 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</ | ||
- | Here is a good resource on [[https:// | + | Use '' |
===== Installation ====== | ===== Installation ====== | ||
- | Notes from the sysadmin during installation: | + | Notes from the sysadmin during installation. |
+ | |||
+ | First, compile the main R application: | ||
< | < | ||
- | $ wget https:// | + | $ wget https:// |
- | $ tar xf R-3.5.3.tar.gz | + | $ tar xf R-4.3.1.tar.gz |
- | $ cd R-3.5.3 | + | $ cd R-4.3.1 |
- | $ sudo yum install | + | $ sudo dnf install |
- | $ ./configure --enable-R-shlib --prefix=/ | + | $ ./configure --enable-R-shlib --prefix=/ |
- | $ make -j4 | + | $ chrt -b 0 make -j4 |
- | $ sudo mkdir -p / | + | $ sudo mv / |
- | $ sudo chown aorth: | + | $ sudo mkdir / |
- | $ make install | + | $ sudo chown aorth:aorth / |
- | $ sudo chown -R root:root / | + | $ make install</ |
- | $ sudo yum remove gcc-c++ libX11-devel libXaw-devel bzip2-devel libcurl-devel xz-devel readline-devel</ | + | |
+ | Then install some common libraries used by our users because some of them are quite complicated, | ||
- | Note to future Alan: don' | + | < |
+ | # > Sys.setenv(MAKEFLAGS = " | ||
+ | > options(Ncpus = 4) # This does 4 parallel package installs | ||
+ | > install.packages('sf', repo=' | ||
+ | > install.packages(" | ||
+ | > install.packages(" | ||
+ | > install.packages(" | ||
+ | > install.packages(" | ||
+ | > install.packages(" | ||
+ | > install.packages(" | ||
+ | > library(devtools) | ||
+ | > install_github(" | ||
+ | > install_github(" | ||
+ | > q() | ||
+ | $ sudo chown -R root:root / |
r-software.txt · Last modified: 2023/07/12 06:39 by aorth