r-software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
r-software [2017/12/04 08:11] – [Installation] aorth | r-software [2023/07/12 06:39] (current) – aorth | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Information ===== | ===== Information ===== | ||
- | * Latest version: 3.3.3 | + | * Version: 4.3 (4.3.1) |
* Added: February, 2015 | * Added: February, 2015 | ||
- | * Updated: | + | * Updated: |
- | * Link: http:// | + | * Link: https:// |
===== Usage ===== | ===== Usage ===== | ||
- | === See versions of R which are available | + | See which versions |
- | < | + | < |
- | Here is a good resource on [[https:// | + | 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 the main R application: | ||
< | < | ||
- | $ wget https:// | + | $ wget https:// |
- | $ tar xf R-3.3.3.tar.gz | + | $ tar xf R-4.3.1.tar.gz |
- | $ cd R-3.3.3 | + | $ cd R-4.3.1 |
- | $ sudo yum install | + | $ sudo dnf install |
- | $ ./configure --enable-R-shlib --prefix=/ | + | $ ./configure --enable-R-shlib --prefix=/ |
- | $ sudo mkdir / | + | $ chrt -b 0 make -j4 |
- | $ sudo chown aorth / | + | $ sudo mv / |
- | $ make install | + | $ sudo mkdir / |
- | $ sudo chown -R root:root / | + | $ sudo chown aorth:aorth / |
+ | $ make install</ | ||
+ | |||
+ | Then install some common libraries used by our users because some of them are quite complicated, | ||
+ | |||
+ | < | ||
+ | # > Sys.setenv(MAKEFLAGS = " | ||
+ | > options(Ncpus = 4) # This does 4 parallel package installs | ||
+ | > install.packages(' | ||
+ | > 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