Package: | r |
---|---|
Description: | R statistical computing scripting language |
For more information: | https://www.r-project.org |
Categories: | |
License: | OpenSource (GPL) |
R is a language and environment for statistical computing and graphics. It is similar to the S language and environment, and can be considered as an open-source implementation of S. There are some important differences, but much code written for S runs unaltered under R.
This module will add the R and Rscript commands to your path.
In case you need to link against this library in your code, the following environmental variables have been defined:
You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):
This section lists the available versions of the package ron the different clusters.
Version | Module tags | CPU(s) optimized for | GPU ready? |
---|---|---|---|
4.3.2 | r/4.3.2 | icelake, x86_64, zen2 | Y |
4.1.1 | r/4.1.1 | zen2 | Y |
The system installations of R include a large number of R modules to enhance the capability of R. The table below list those modules and version numbers for the various installations of R which are made available with the "module load r" or similar commands.
R Version | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
---|---|---|---|---|
Compiler | gcc/11.3.0 | gcc/11.3.0 | gcc/11.3.0 | gcc/9.4.0 |
CPU optimized for | zen2 | icelake | x86_64 | zen2 |
CUDA | nocuda | nocuda | nocuda | nocuda |
abind | 1.4-5 | 1.4-5 | 1.4-5 | 1.4-5 |
amap | 0.8-19 | 0.8-19 | 0.8-19 | 0.8-18 |
animation | 2.7 | 2.7 | 2.7 | 2.7 |
annotate | 1.78.0 | 1.78.0 | 1.78.0 | 1.68.0 |
AnnotationDbi | 1.62.0 | 1.62.0 | 1.62.0 | 1.52.0 |
ape | 5.7-1 | 5.7-1 | 5.7-1 | 5.4-1 |
argparse | 2.2.2 | 2.2.2 | 2.2.2 | 2.0.3 |
askpass | 1.1 | 1.1 | 1.1 | 1.1 |
assertthat | 0.2.1 | 0.2.1 | 0.2.1 | 0.2.1 |
backports | 1.4.1 | 1.4.1 | 1.4.1 | 1.2.1 |
base | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
base64enc | 0.1-3 | 0.1-3 | 0.1-3 | 0.1-3 |
bayesm | 3.1-5 | 3.1-5 | 3.1-5 | 3.1-4 |
Bessel | 0.6-0 | 0.6-0 | 0.6-0 | 0.6-0 |
BH | 1.81.0-1 | 1.81.0-1 | 1.81.0-1 | 1.72.0-3 |
BiasedUrn | 2.0.9 | 2.0.9 | 2.0.9 | 1.07 |
Biobase | 2.60.0 | 2.60.0 | 2.60.0 | 2.50.0 |
BiocFileCache | 2.8.0 | 2.8.0 | 2.8.0 | 1.14.0 |
BiocGenerics | 0.46.0 | 0.46.0 | 0.46.0 | 0.40.0 |
BiocIO | 1.10.0 | 1.10.0 | 1.10.0 | 1.6.0 |
BiocManager | 1.30.18 | |||
BiocParallel | 1.34.0 | 1.34.0 | 1.34.0 | 1.24.1 |
BiocVersion | 3.14.0 | |||
biomaRt | 2.56.0 | 2.56.0 | 2.56.0 | 2.46.2 |
Biostrings | 2.68.0 | 2.68.0 | 2.68.0 | 2.58.0 |
bit | 4.0.5 | 4.0.5 | 4.0.5 | 4.0.4 |
bit64 | 4.0.5 | 4.0.5 | 4.0.5 | 4.0.5 |
bitops | 1.0-7 | 1.0-7 | 1.0-7 | 1.0-6 |
blob | 1.2.4 | 1.2.4 | 1.2.4 | 1.2.1 |
boot | 1.3-28.1 | 1.3-28.1 | 1.3-28.1 | 1.3-28 |
brew | 1.0-8 | 1.0-8 | 1.0-8 | 1.0-7 |
brio | 1.1.3 | 1.1.3 | 1.1.3 | 1.1.0 |
broom | 1.0.4 | 1.0.4 | 1.0.4 | 0.8.0 |
bslib | 0.4.2 | 0.4.2 | 0.4.2 | 0.3.1 |
cachem | 1.0.7 | 1.0.7 | 1.0.7 | 1.0.6 |
callr | 3.7.3 | 3.7.3 | 3.7.3 | 3.7.0 |
caTools | 1.18.2 | 1.18.2 | 1.18.2 | 1.18.2 |
cellranger | 1.1.0 | 1.1.0 | 1.1.0 | 1.1.0 |
checkmate | 2.1.0 | 2.1.0 | 2.1.0 | 2.0.0 |
class | 7.3-21 | 7.3-21 | 7.3-21 | |
classInt | 0.4-9 | 0.4-9 | 0.4-9 | |
cli | 3.6.1 | 3.6.1 | 3.6.1 | 3.0.1 |
clipr | 0.8.0 | 0.8.0 | 0.8.0 | 0.7.1 |
cluster | 2.1.4 | 2.1.4 | 2.1.4 | 2.1.0 |
cmdstanr | 0.5.3 | 0.5.3 | 0.5.3 | 0.5.1 |
coda | 0.19-4 | 0.19-4 | 0.19-4 | 0.19-4 |
codetools | 0.2-19 | 0.2-19 | 0.2-19 | 0.2-18 |
colorspace | 2.1-0 | 2.1-0 | 2.1-0 | 2.0-0 |
commonmark | 1.9.0 | 1.9.0 | 1.9.0 | 1.8.0 |
compiler | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
conflicted | 1.2.0 | 1.2.0 | 1.2.0 | |
covr | 3.6.2 | 3.6.2 | 3.6.2 | 3.5.1 |
cowplot | 1.1.1 | 1.1.1 | 1.1.1 | 1.1.1 |
cpp11 | 0.4.3 | 0.4.3 | 0.4.3 | 0.4.0 |
crayon | 1.5.2 | 1.5.2 | 1.5.2 | 1.4.1 |
credentials | 1.3.2 | 1.3.2 | 1.3.2 | 1.3.2 |
crosstalk | 1.2.0 | 1.2.0 | 1.2.0 | 1.2.0 |
ctc | 1.74.0 | 1.74.0 | 1.74.0 | 1.64.0 |
ctmm | 1.2.0 | 1.2.0 | 1.0.0 | |
curl | 5.0.0 | 5.0.0 | 5.0.0 | 4.3.2 |
data.table | 1.14.8 | 1.14.8 | 1.14.8 | 1.14.2 |
datasets | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
DBI | 1.1.3 | 1.1.3 | 1.1.3 | 1.1.0 |
dbplyr | 2.3.2 | 2.3.2 | 2.3.2 | 2.1.1 |
DelayedArray | 0.26.0 | 0.26.0 | 0.26.0 | 0.16.1 |
deldir | 1.0-6 | 1.0-6 | 1.0-6 | 1.0-6 |
DEoptimR | 1.0-12 | 1.0-12 | 1.0-12 | 1.0-11 |
desc | 1.4.2 | 1.4.2 | 1.4.2 | 1.2.0 |
DESeq2 | 1.40.0 | 1.40.0 | 1.40.0 | 1.30.0 |
devtools | 2.3.2 | |||
diffobj | 0.3.5 | 0.3.5 | 0.3.5 | 0.3.3 |
digest | 0.6.31 | 0.6.31 | 0.6.31 | 0.6.28 |
distributional | 0.3.2 | 0.3.2 | 0.3.2 | 0.3.0 |
doParallel | 1.0.17 | 1.0.17 | 1.0.17 | 1.0.17 |
doSNOW | 1.0.20 | 1.0.20 | 1.0.20 | 1.0.20 |
dotCall64 | 1.0-2 | 1.0-2 | 1.0-2 | 1.0-1 |
dplyr | 1.1.2 | 1.1.2 | 1.1.2 | 1.0.7 |
dqrng | 0.3.0 | 0.3.0 | 0.3.0 | 0.3.0 |
DT | 0.27 | 0.27 | 0.27 | 0.23 |
dtplyr | 1.3.1 | 1.3.1 | 1.3.1 | 1.2.1 |
dynamicTreeCut | 1.63-1 | 1.63-1 | 1.63-1 | 1.63-1 |
e1071 | 1.7-13 | 1.7-13 | 1.7-13 | |
edgeR | 3.42.0 | 3.42.0 | 3.42.0 | 3.32.1 |
ellipsis | 0.3.2 | 0.3.2 | 0.3.2 | 0.3.2 |
evaluate | 0.20 | 0.20 | 0.20 | 0.14 |
expm | 0.999-7 | 0.999-7 | 0.999-7 | 0.999-6 |
fansi | 1.0.4 | 1.0.4 | 1.0.4 | 0.5.0 |
farver | 2.1.1 | 2.1.1 | 2.1.1 | 2.1.0 |
fastcluster | 1.2.3 | 1.2.3 | 1.2.3 | 1.1.25 |
fastmap | 1.1.1 | 1.1.1 | 1.1.1 | 1.1.0 |
fasttime | 1.1-0 | 1.1-0 | 1.1-0 | 1.1-0 |
fields | 14.1 | 14.1 | 14.1 | 13.3 |
filelock | 1.0.2 | 1.0.2 | 1.0.2 | |
findpython | 1.0.8 | 1.0.8 | 1.0.8 | 1.0.7 |
fitdistrplus | 1.1-11 | 1.1-11 | 1.1-11 | 1.1-8 |
fmesher | 0.1.2 | 0.1.2 | ||
FNN | 1.1.3.2 | 1.1.3.2 | 1.1.3.2 | 1.1.3.1 |
fontawesome | 0.5.1 | 0.5.1 | 0.5.1 | |
forcats | 1.0.0 | 1.0.0 | 1.0.0 | 0.5.1 |
foreach | 1.5.2 | 1.5.2 | 1.5.2 | 1.5.2 |
foreign | 0.8-84 | 0.8-84 | 0.8-84 | 0.8-81 |
formatR | 1.14 | 1.14 | 1.14 | 1.7 |
Formula | 1.2-5 | 1.2-5 | 1.2-5 | 1.2-4 |
fs | 1.6.2 | 1.6.2 | 1.6.2 | 1.5.0 |
futile.logger | 1.4.3 | 1.4.3 | 1.4.3 | 1.4.3 |
futile.options | 1.0.1 | 1.0.1 | 1.0.1 | 1.0.1 |
future | 1.32.0 | 1.32.0 | 1.32.0 | 1.26.1 |
future.apply | 1.10.0 | 1.10.0 | 1.10.0 | 1.9.0 |
gargle | 1.4.0 | 1.4.0 | 1.4.0 | |
genefilter | 1.82.0 | 1.82.0 | 1.82.0 | 1.72.1 |
geneLenDataBase | 1.36.0 | 1.36.0 | 1.36.0 | |
geneplotter | 1.78.0 | 1.78.0 | 1.78.0 | 1.68.0 |
generics | 0.1.3 | 0.1.3 | 0.1.3 | 0.1.1 |
GenomeInfoDb | 1.36.0 | 1.36.0 | 1.36.0 | 1.26.2 |
GenomeInfoDbData | 1.2.10 | 1.2.10 | 1.2.10 | 1.2.1 |
GenomicAlignments | 1.36.0 | 1.36.0 | 1.36.0 | 1.30.0 |
GenomicFeatures | 1.52.0 | 1.52.0 | 1.52.0 | |
GenomicRanges | 1.52.0 | 1.52.0 | 1.52.0 | 1.42.0 |
geomorph | 4.0.5 | 4.0.5 | 4.0.5 | 4.0.3 |
geosphere | 1.5-18 | 1.5-18 | 1.5-18 | 1.5-14 |
gert | 1.9.2 | 1.9.2 | 1.9.2 | 1.6.0 |
ggdendro | 0.1.23 | 0.1.23 | 0.1.23 | 0.1.23 |
ggplot2 | 3.4.2 | 3.4.2 | 3.4.2 | 3.3.5 |
ggrepel | 0.9.3 | 0.9.3 | 0.9.3 | 0.9.1 |
ggridges | 0.5.4 | 0.5.4 | 0.5.4 | 0.5.3 |
gh | 1.4.0 | 1.4.0 | 1.4.0 | 1.3.0 |
gitcreds | 0.1.2 | 0.1.2 | 0.1.2 | 0.1.1 |
Glimma | 2.10.0 | 2.10.0 | 2.10.0 | 2.0.0 |
globals | 0.16.2 | 0.16.2 | 0.16.2 | 0.15.0 |
glue | 1.6.2 | 1.6.2 | 1.6.2 | 1.4.2 |
Gmedian | 1.2.7 | 1.2.7 | 1.2.7 | 1.2.7 |
gmp | 0.7-1 | 0.7-1 | 0.7-1 | 0.6-5 |
GO.db | 3.17.0 | 3.17.0 | 3.17.0 | 3.12.1 |
goftest | 1.2-3 | 1.2-3 | 1.2-3 | 1.2-3 |
googledrive | 2.1.0 | 2.1.0 | 2.1.0 | |
googlesheets4 | 1.1.0 | 1.1.0 | 1.1.0 | |
GOplot | 1.0.2 | 1.0.2 | 1.0.2 | 1.0.2 |
goseq | 1.52.0 | 1.52.0 | 1.52.0 | |
gplots | 3.1.3 | 3.1.3 | 3.1.3 | 3.1.1 |
graphics | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
grDevices | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
grid | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
gridExtra | 2.3 | 2.3 | 2.3 | 2.3 |
gsl | 2.1-8 | 2.1-8 | 2.1-8 | 2.1-6 |
gstat | 2.0-9 | |||
gtable | 0.3.3 | 0.3.3 | 0.3.3 | 0.3.0 |
gtools | 3.9.4 | 3.9.4 | 3.9.4 | 3.9.2.1 |
haven | 2.5.2 | 2.5.2 | 2.5.2 | 2.5.0 |
hdf5r | 1.3.8 | 1.3.8 | 1.3.8 | 1.3.5 |
here | 1.0.1 | 1.0.1 | 1.0.1 | 1.0.1 |
highr | 0.10 | 0.10 | 0.10 | 0.9 |
Hmisc | 5.0-1 | 5.0-1 | 5.0-1 | 4.4-2 |
hms | 1.1.3 | 1.1.3 | 1.1.3 | 1.1.1 |
htmlTable | 2.4.1 | 2.4.1 | 2.4.1 | 2.1.0 |
htmltools | 0.5.5 | 0.5.5 | 0.5.5 | 0.5.1.1 |
htmlwidgets | 1.6.2 | 1.6.2 | 1.6.2 | 1.5.3 |
httpuv | 1.6.9 | 1.6.9 | 1.6.9 | 1.6.5 |
httr | 1.4.5 | 1.4.5 | 1.4.5 | 1.4.2 |
httr2 | 0.2.2 | 0.2.2 | 0.2.2 | |
hwriter | 1.3.2.1 | 1.3.2.1 | 1.3.2.1 | 1.3.2.1 |
ica | 1.0-3 | 1.0-3 | 1.0-3 | 1.0-2 |
ids | 1.0.1 | 1.0.1 | 1.0.1 | |
igraph | 1.4.2 | 1.4.2 | 1.4.2 | 1.2.6 |
impute | 1.74.0 | 1.74.0 | 1.74.0 | 1.70.0 |
ini | 0.3.1 | 0.3.1 | 0.3.1 | 0.3.1 |
INLA | 23.09.09 | 23.09.09 | 23.09.09 | |
interp | 1.1-4 | 1.1-4 | 1.1-4 | |
intervals | 0.15.3 | 0.15.3 | 0.15.3 | 0.15.2 |
IRanges | 2.34.0 | 2.34.0 | 2.34.0 | 2.24.1 |
IRdisplay | 1.1 | 1.1 | 1.1 | 1.1 |
IRkernel | 1.3.2 | 1.3.2 | 1.3.2 | 1.3 |
irlba | 2.3.5.1 | 2.3.5.1 | 2.3.5.1 | 2.3.5 |
isoband | 0.2.7 | 0.2.7 | 0.2.7 | 0.2.3 |
iterators | 1.0.14 | 1.0.14 | 1.0.14 | 1.0.14 |
jpeg | 0.1-10 | 0.1-10 | 0.1-10 | 0.1-8.1 |
jquerylib | 0.1.4 | 0.1.4 | 0.1.4 | 0.1.4 |
jsonlite | 1.8.4 | 1.8.4 | 1.8.4 | 1.7.2 |
KEGGREST | 1.40.0 | 1.40.0 | 1.40.0 | |
kernlab | 0.9-32 | 0.9-32 | 0.9-32 | 0.9-30 |
KernSmooth | 2.23-20 | 2.23-20 | 2.23-20 | 2.23-18 |
knitr | 1.42 | 1.42 | 1.42 | 1.33 |
ks | 1.14.0 | 1.14.0 | 1.14.0 | 1.13.5 |
labeling | 0.4.2 | 0.4.2 | 0.4.2 | 0.4.2 |
lambda.r | 1.2.4 | 1.2.4 | 1.2.4 | 1.2.4 |
later | 1.3.0 | 1.3.0 | 1.3.0 | 1.3.0 |
lattice | 0.21-8 | 0.21-8 | 0.21-8 | 0.20-44 |
latticeExtra | 0.6-30 | 0.6-30 | 0.6-30 | 0.6-29 |
lazyeval | 0.2.2 | 0.2.2 | 0.2.2 | 0.2.2 |
leiden | 0.4.3 | 0.4.3 | 0.4.3 | 0.3.9 |
lifecycle | 1.0.3 | 1.0.3 | 1.0.3 | 1.0.1 |
limma | 3.56.0 | 3.56.0 | 3.56.0 | 3.52.1 |
listenv | 0.9.0 | 0.9.0 | 0.9.0 | 0.8.0 |
lme4 | 1.1-33 | 1.1-33 | 1.1-29 | |
lmtest | 0.9-40 | 0.9-40 | 0.9-40 | 0.9-40 |
locfit | 1.5-9.7 | 1.5-9.7 | 1.5-9.7 | 1.5-9.4 |
lubridate | 1.9.2 | 1.9.2 | 1.9.2 | 1.8.0 |
magick | 2.7.4 | 2.7.4 | 2.7.4 | 2.7.3 |
magrittr | 2.0.3 | 2.0.3 | 2.0.3 | 2.0.1 |
manipulate | 1.0.1 | 1.0.1 | 1.0.1 | 1.0.1 |
manipulateWidget | 0.11.1 | 0.11.1 | 0.11.1 | 0.11.1 |
maps | 3.4.1 | 3.4.1 | 3.4.1 | 3.3.0 |
markdown | 1.6 | 1.6 | 1.6 | 1.1 |
MASS | 7.3-59 | 7.3-59 | 7.3-59 | 7.3-54 |
Matrix | 1.5-4 | 1.5-4 | 1.5-4 | 1.3-4 |
MatrixGenerics | 1.12.0 | 1.12.0 | 1.12.0 | 1.2.1 |
matrixStats | 0.63.0 | 0.63.0 | 0.63.0 | 0.61.0 |
mclust | 6.0.0 | 6.0.0 | 6.0.0 | 5.4.10 |
memoise | 2.0.1 | 2.0.1 | 2.0.1 | 1.1.0 |
methods | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
mgcv | 1.8-42 | 1.8-42 | 1.8-42 | 1.8-38 |
mime | 0.12 | 0.12 | 0.12 | 0.11 |
miniUI | 0.1.1.1 | 0.1.1.1 | 0.1.1.1 | 0.1.1.1 |
minqa | 1.2.5 | 1.2.5 | 1.2.5 | 1.2.4 |
misc3d | 0.9-1 | 0.9-1 | 0.9-1 | 0.9-1 |
mnormt | 2.1.1 | 2.1.1 | 2.1.1 | 2.0.2 |
modelr | 0.1.11 | 0.1.11 | 0.1.11 | 0.1.8 |
multicool | 0.1-12 | 0.1-12 | 0.1-12 | 0.1-12 |
munsell | 0.5.0 | 0.5.0 | 0.5.0 | 0.5.0 |
mvtnorm | 1.1-3 | 1.1-3 | 1.1-3 | 1.1-3 |
ncdf4 | 1.21 | 1.21 | 1.21 | 1.17 |
nlme | 3.1-162 | 3.1-162 | 3.1-162 | 3.1-153 |
nloptr | 2.0.3 | 2.0.3 | 2.0.3 | |
nnet | 7.3-18 | 7.3-18 | 7.3-18 | 7.3-14 |
numDeriv | 2016.8-1.1 | 2016.8-1.1 | 2016.8-1.1 | 2016.8-1.1 |
openssl | 2.0.6 | 2.0.6 | 2.0.6 | 1.4.5 |
parallel | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
parallelly | 1.35.0 | 1.35.0 | 1.35.0 | 1.31.1 |
parsedate | 1.3.1 | 1.3.1 | ||
patchwork | 1.1.2 | 1.1.2 | 1.1.2 | 1.1.1 |
pbapply | 1.7-0 | 1.7-0 | 1.7-0 | 1.5-0 |
pbdZMQ | 0.3-9 | 0.3-9 | 0.3-9 | 0.3-7 |
pbivnorm | 0.6.0 | 0.6.0 | 0.6.0 | 0.6.0 |
pbkrtest | 0.5.2 | 0.5.2 | 0.5.1 | |
pillar | 1.9.0 | 1.9.0 | 1.9.0 | 1.6.4 |
pkgbuild | 1.4.0 | 1.4.0 | 1.4.0 | 1.2.0 |
pkgconfig | 2.0.3 | 2.0.3 | 2.0.3 | 2.0.3 |
pkgload | 1.3.2 | 1.3.2 | 1.3.2 | 1.1.0 |
plogr | 0.2.0 | 0.2.0 | 0.2.0 | 0.2.0 |
plot3D | 1.4 | 1.4 | 1.4 | 1.4 |
plotly | 4.10.1 | 4.10.1 | 4.10.1 | 4.10.0 |
plyr | 1.8.8 | 1.8.8 | 1.8.8 | 1.8.6 |
png | 0.1-8 | 0.1-8 | 0.1-8 | 0.1-7 |
polyclip | 1.10-4 | 1.10-4 | 1.10-4 | 1.10-0 |
posterior | 1.4.1 | 1.4.1 | 1.4.1 | 1.2.1 |
pracma | 2.4.2 | 2.4.2 | 2.4.2 | 2.3.8 |
praise | 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 |
preprocessCore | 1.62.0 | 1.62.0 | 1.62.0 | 1.58.0 |
prettyunits | 1.1.1 | 1.1.1 | 1.1.1 | 1.1.1 |
processx | 3.8.1 | 3.8.1 | 3.8.1 | 3.5.2 |
progress | 1.2.2 | 1.2.2 | 1.2.2 | 1.2.2 |
progressr | 0.13.0 | 0.13.0 | 0.13.0 | |
promises | 1.2.0.1 | 1.2.0.1 | 1.2.0.1 | 1.2.0.1 |
proxy | 0.4-27 | 0.4-27 | 0.4-27 | |
ps | 1.7.5 | 1.7.5 | 1.7.5 | 1.5.0 |
psych | 2.3.3 | 2.3.3 | 2.3.3 | 2.2.5 |
purrr | 1.0.1 | 1.0.1 | 1.0.1 | 0.3.4 |
quadprog | 1.5-8 | 1.5-8 | 1.5-8 | 1.5-8 |
quantmod | 0.4.22 | 0.4.22 | 0.4.22 | 0.4.20 |
qvalue | 2.32.0 | 2.32.0 | 2.32.0 | 2.22.0 |
R.methodsS3 | 1.8.2 | 1.8.2 | 1.8.2 | 1.8.1 |
R.oo | 1.25.0 | 1.25.0 | 1.25.0 | 1.24.0 |
R.utils | 2.12.2 | 2.12.2 | 2.12.2 | 2.10.1 |
R6 | 2.5.1 | 2.5.1 | 2.5.1 | 2.5.0 |
ragg | 1.2.5 | 1.2.5 | 1.2.5 | |
randomForest | 4.7-1.1 | 4.7-1.1 | 4.7-1.1 | 4.6-14 |
RANN | 2.6.1 | 2.6.1 | 2.6.1 | 2.6.1 |
rappdirs | 0.3.3 | 0.3.3 | 0.3.3 | 0.3.3 |
raster | 3.6-20 | 3.6-20 | 3.5-15 | |
rcmdcheck | 1.4.0 | 1.4.0 | 1.4.0 | 1.4.0 |
RColorBrewer | 1.1-3 | 1.1-3 | 1.1-3 | 1.1-2 |
Rcpp | 1.0.10 | 1.0.10 | 1.0.10 | 1.0.7 |
RcppAnnoy | 0.0.20 | 0.0.20 | 0.0.20 | 0.0.19 |
RcppArmadillo | 0.12.2.0.0 | 0.12.2.0.0 | 0.12.2.0.0 | 0.10.1.2.2 |
RcppEigen | 0.3.3.9.3 | 0.3.3.9.3 | 0.3.3.9.3 | 0.3.3.9.1 |
RcppParallel | 5.1.7 | 5.1.7 | 5.1.7 | 5.0.2 |
RcppProgress | 0.4.2 | 0.4.2 | 0.4.2 | 0.4.2 |
RcppTOML | 0.2.2 | 0.2.2 | 0.2.2 | 0.1.7 |
RCurl | 1.98-1.12 | 1.98-1.12 | 1.98-1.12 | 1.98-1.2 |
readr | 2.1.4 | 2.1.4 | 2.1.4 | 2.1.2 |
readxl | 1.4.2 | 1.4.2 | 1.4.2 | 1.3.1 |
rematch | 1.0.1 | 1.0.1 | 1.0.1 | 1.0.1 |
rematch2 | 2.1.2 | 2.1.2 | 2.1.2 | 2.1.2 |
remotes | 2.4.2 | |||
repr | 1.1.6 | 1.1.6 | 1.1.6 | 1.1.4 |
reprex | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.1 |
reshape2 | 1.4.4 | 1.4.4 | 1.4.4 | 1.4.3 |
restfulr | 0.0.15 | 0.0.15 | 0.0.15 | 0.0.15 |
reticulate | 1.28 | 1.28 | 1.28 | 1.25 |
rex | 1.2.1 | 1.2.1 | 1.2.1 | 1.2.1 |
rgdal | 1.5-32 | |||
rgl | 1.1.3 | 1.1.3 | 1.1.3 | 0.104.16 |
Rhtslib | 2.0.0 | 2.0.0 | 2.0.0 | 1.99.5 |
rjags | 4-14 | 4-14 | 4-14 | 4-13 |
rjson | 0.2.21 | 0.2.21 | 0.2.21 | 0.2.21 |
rlang | 1.1.0 | 1.1.0 | 1.1.0 | 0.4.12 |
rmarkdown | 2.21 | 2.21 | 2.21 | 2.11 |
Rmpfr | 0.9-2 | 0.9-2 | 0.9-2 | 0.8-9 |
Rmpi | 0.7-1 | 0.7-1 | 0.7-1 | 0.6-9 |
robustbase | 0.95-1 | 0.95-1 | 0.95-1 | 0.95-0 |
ROCR | 1.0-11 | 1.0-11 | 1.0-11 | 1.0-11 |
ROTS | 1.28.0 | 1.28.0 | 1.28.0 | 1.18.0 |
roxygen2 | 7.2.3 | 7.2.3 | 7.2.3 | 7.1.2 |
rpart | 4.1.19 | 4.1.19 | 4.1.19 | 4.1-15 |
rprojroot | 2.0.3 | 2.0.3 | 2.0.3 | 2.0.2 |
RRPP | 1.3.1 | 1.3.1 | 1.3.1 | 1.2.3 |
Rsamtools | 2.16.0 | 2.16.0 | 2.16.0 | 2.10.0 |
rSPDE | 2.3.3 | 2.3.3 | ||
RSpectra | 0.16-1 | 0.16-1 | 0.16-1 | 0.16-1 |
RSQLite | 2.3.1 | 2.3.1 | 2.3.1 | 2.2.2 |
rstudioapi | 0.14 | 0.14 | 0.14 | 0.13 |
rsvd | 1.0.5 | 1.0.5 | 1.0.5 | 1.0.5 |
rtracklayer | 1.60.0 | 1.60.0 | 1.60.0 | 1.54.0 |
Rtsne | 0.16 | 0.16 | 0.16 | 0.16 |
rversions | 2.1.2 | 2.1.2 | 2.1.2 | 2.1.1 |
rvest | 1.0.3 | 1.0.3 | 1.0.3 | 1.0.2 |
s2 | 1.1.2 | 1.1.2 | 1.1.2 | |
S4Vectors | 0.38.0 | 0.38.0 | 0.38.0 | 0.28.1 |
sass | 0.4.5 | 0.4.5 | 0.4.5 | 0.4.1 |
scales | 1.2.1 | 1.2.1 | 1.2.1 | 1.1.1 |
scattermore | 0.8 | 0.8 | 0.8 | 0.8 |
sctransform | 0.3.5 | 0.3.5 | 0.3.5 | 0.3.3 |
selectr | 0.4-2 | 0.4-2 | 0.4-2 | 0.4-2 |
sessioninfo | 1.2.2 | 1.2.2 | 1.2.2 | 1.1.1 |
Seurat | 4.3.0 | 4.3.0 | 4.3.0 | 3.2.3 |
SeuratObject | 4.1.3 | 4.1.3 | 4.1.3 | |
sf | 1.0-12 | 1.0-12 | ||
shape | 1.4.6 | 1.4.6 | 1.4.6 | 1.4.6 |
shiny | 1.7.4 | 1.7.4 | 1.7.4 | 1.5.0 |
shinyjs | 2.1.0 | 2.1.0 | 2.1.0 | 2.1.0 |
sitmo | 2.0.2 | 2.0.2 | 2.0.2 | 2.0.2 |
sm | 2.2-5.7.1 | 2.2-5.7.1 | 2.2-5.7.1 | 2.2-5.6 |
snow | 0.4-4 | 0.4-4 | 0.4-4 | 0.4-3 |
sourcetools | 0.1.7-1 | 0.1.7-1 | 0.1.7-1 | 0.1.7 |
sp | 1.6-0 | 1.6-0 | 1.6-0 | 1.4-7 |
spacetime | 1.3-0 | 1.3-0 | 1.3-0 | 1.2-6 |
spam | 2.9-1 | 2.9-1 | 2.9-1 | 2.8-0 |
spatstat | 3.0-5 | 3.0-5 | 3.0-5 | 1.64-1 |
spatstat.data | 3.0-1 | 3.0-1 | 3.0-1 | 2.2-0 |
spatstat.explore | 3.1-0 | 3.1-0 | 3.1-0 | |
spatstat.geom | 3.1-0 | 3.1-0 | 3.1-0 | |
spatstat.linnet | 3.1-0 | 3.1-0 | 3.1-0 | |
spatstat.model | 3.2-3 | 3.2-3 | 3.2-3 | |
spatstat.random | 3.1-4 | 3.1-4 | 3.1-4 | |
spatstat.sparse | 3.0-1 | 3.0-1 | 3.0-1 | |
spatstat.utils | 3.0-2 | 3.0-2 | 3.0-2 | 2.3-1 |
splines | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
SQUAREM | 2021.1 | 2021.1 | 2021.1 | 2021.1 |
statmod | 1.5.0 | 1.5.0 | 1.5.0 | 1.4.36 |
stats | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
stats4 | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
stringi | 1.7.12 | 1.7.12 | 1.7.12 | 1.6.2 |
stringr | 1.5.0 | 1.5.0 | 1.5.0 | 1.4.0 |
SummarizedExperiment | 1.30.0 | 1.30.0 | 1.30.0 | 1.20.0 |
survival | 3.5-5 | 3.5-5 | 3.5-5 | 3.2-7 |
sys | 3.4.1 | 3.4.1 | 3.4.1 | 3.4 |
systemfonts | 1.0.4 | 1.0.4 | 1.0.4 | |
tcltk | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
tensor | 1.5 | 1.5 | 1.5 | 1.5 |
tensorA | 0.36.2 | 0.36.2 | 0.36.2 | 0.36.2 |
terra | 1.7-29 | 1.7-29 | 1.5-21 | |
testthat | 3.1.7 | 3.1.7 | 3.1.7 | 3.0.1 |
textshaping | 0.3.6 | 0.3.6 | 0.3.6 | |
tibble | 3.2.1 | 3.2.1 | 3.2.1 | 3.1.5 |
tidyr | 1.3.0 | 1.3.0 | 1.3.0 | 1.1.4 |
tidyselect | 1.2.0 | 1.2.0 | 1.2.0 | 1.1.1 |
tidyverse | 2.0.0 | 2.0.0 | 2.0.0 | 1.3.0 |
timechange | 0.2.0 | 0.2.0 | 0.2.0 | |
tinytex | 0.45 | 0.45 | 0.45 | 0.39 |
tmvnsim | 1.0-2 | 1.0-2 | 1.0-2 | 1.0-2 |
tools | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
tseries | 0.10-53 | 0.10-53 | 0.10-53 | 0.10-48 |
TTR | 0.24.3 | 0.24.3 | 0.24.3 | 0.24.3 |
tximport | 1.28.0 | 1.28.0 | 1.28.0 | 1.24.0 |
tximportData | 1.28.0 | 1.28.0 | 1.28.0 | 1.24.0 |
tzdb | 0.3.0 | 0.3.0 | 0.3.0 | 0.2.0 |
units | 0.8-1 | 0.8-1 | 0.8-1 | |
usethis | 2.1.6 | 2.1.6 | 2.1.6 | 2.0.0 |
utf8 | 1.2.3 | 1.2.3 | 1.2.3 | 1.1.4 |
utils | 4.3.2 | 4.3.2 | 4.3.2 | 4.1.1 |
uuid | 1.1-0 | 1.1-0 | 1.1-0 | 1.1-0 |
uwot | 0.1.14 | 0.1.14 | 0.1.14 | 0.1.11 |
vctrs | 0.6.2 | 0.6.2 | 0.6.2 | 0.3.8 |
viridis | 0.6.2 | 0.6.2 | 0.6.2 | 0.5.1 |
viridisLite | 0.4.1 | 0.4.1 | 0.4.1 | 0.3.0 |
vroom | 1.6.1 | 1.6.1 | 1.6.1 | 1.5.7 |
waldo | 0.4.0 | 0.4.0 | 0.4.0 | 0.2.3 |
webshot | 0.5.4 | 0.5.4 | 0.5.4 | 0.5.3 |
WGCNA | 1.72-1 | 1.72-1 | 1.72-1 | 1.69 |
whisker | 0.4.1 | 0.4.1 | 0.4.1 | 0.4 |
withr | 2.5.0 | 2.5.0 | 2.5.0 | 2.4.2 |
wk | 0.7.2 | 0.7.2 | 0.7.2 | |
xfun | 0.39 | 0.39 | 0.39 | 0.31 |
xgboost | 1.7.5.1 | 1.7.5.1 | 1.7.5.1 | 1.3.2.1 |
XML | 3.99-0.14 | 3.99-0.14 | 3.99-0.14 | 3.99-0.5 |
xml2 | 1.3.3 | 1.3.3 | 1.3.3 | 1.3.2 |
xopen | 1.0.0 | 1.0.0 | 1.0.0 | 1.0.0 |
xtable | 1.8-4 | 1.8-4 | 1.8-4 | 1.8-4 |
xts | 0.13.1 | 0.13.1 | 0.13.1 | 0.12.1 |
XVector | 0.40.0 | 0.40.0 | 0.40.0 | 0.30.0 |
yaml | 2.3.7 | 2.3.7 | 2.3.7 | 2.2.1 |
zip | 2.3.0 | 2.3.0 | 2.3.0 | 2.2.0 |
zlibbioc | 1.46.0 | 1.46.0 | 1.46.0 | 1.36.0 |
zoo | 1.8-12 | 1.8-12 | 1.8-12 | 1.8-10 |
R's capabilities can be significantly enhanced through the addition of
modules. Code can then enable the library with the library
command.
The supported R interpretters on the system have a
selection of modules
preinstalled. If a module you are interested in is not in that
list, you can either install a personal copy of the module for yourself,
or request that it be installed system wide. We will make reasonable efforts
to accomodate such requests as staffing resources allow.
The recommended method for installing your own R packages is with
the R CMD INSTALL
command or similar. This method for
installing R packages is usually fairly straightforward, and generally allows
for you to install your own packages while still availing yourself
of system installed packages. Obviously not all packages will install i
n the same manner. But most will follow the procedure below:
module load R/X.Y.Z
to select the version of R you wish
to useR
underneath your home
directory, but you might wish to put it elsewhere; this will have subdirectories
for R version and platform added.
~/R
, you need
to tell R what directory you are using. To do this, you must set the
environmental variable R_LIBS_USER
. Multiple directories can
be listed; separate the paths with the colon (:) character. This needs to
be set whenever you wish to use the modules in R, so you will generally
want to set it in your .cshrc.mine
or .Renviron
files.
~/myRpkgs
and installing the package
foo
the commands would be:
foo.tar.gz
to the current
directory, you could then install it with:
R CMD INSTALL -l ~/myRpkgs foo.tar.gz
install.packages
function will
connect to CRAN and download and install the package all in one step, with:
install.packages("foo", lib="~/myRpkgs", repos="http://cran.r-project.org")
If all goes well, the package is now installed in the directory you specified and should be available for use by your R scripts.
Of course, not all packages install quite that easily. If you are comfortable building modules, hopefully the error messages will provide reasonable guidance as to how to proceed. Otherwise, you can just request for Division of Information Technology staff to install it, but that might take time depending on the availability of our time.
NOTE: We generally recommend that you try installing your own R packages using the previously mentioned method (R CMD INSTALL) setup.py rather than using conda as that integrates better with the system installed R packages.
Conda is another option for installing python and R packages, but it does even more separation and isolation than the venv method. This can either be an advantage or a liability depending on the use case. This isolation means that you are not constrained but what system staff have installed on the cluster, but it also means it is very difficult if not impossible to take advantage of any packages system staff have installed on the cluster. Also, since you are relying on an entire environment which you installed, the ability of HPC staff to provide assistance should there be issues is limited. Therefore, we encourage users to try one of the other methods if such is feasible.
NOTE:The Anaconda distribution of Python and R is restrictively licensed. The Anaconda company states that the use of Anaconda's offerings at an organization of more than 200 employees requires a Business or Enterprise license. As the Univesity of Maryland does not have such a license, the use of the anaconda distribution or its repositories at UMD (outside of use in a formally scheduled curriculum based course) is not free and is not allowed. See e.g. the Anaconda blog for more information regarding Anaconda licensing.
Due to the license restrictions above, we encourage users to use the miniforge/mambaforge installer which pulls packages from the conda-forge repository, which is not covered by the restrictive Anaconda license and is free to use. (You still may need to check for any This provides similar functionality to miniconda without the license restrictions.
Miniconda is a subset of Anaconda, without some extras like Anaconda Navigator, etc. By default, it pulls packages from the default Anaconda repositories, which requires licensing from Anaconda. The actual conda program which installs packages is free to use, but only if you are downloading packages from repositories which are free to use. If you insist on using miniconda, please be sure to remove the default channel (as well as any subchannels of the default channel) as these are restrictively licensed and require licesnses, and replace it with conda-forge channel, e.g.
conda config --show channels
conda config --remove channels defaults
# You might also need to remove subchannels like ananconda, main, r, pro, etc
conda config --add channels conda-forge
But we encourage you to use miniforge/mambaforge instead.
To install python packages using conda, you should usually follow a process like outlined below:
~/scratch/condaroot
. Create that directory
if it does not already exist.
condaroot
directory.
cp ~/.bashrc ~/.bashrc.HOLD
.
You might wish to do similar for .cshrc
and other
init dot files if they exist.
cd ~/scratch/condaroot; bash Mambaforge-X.Y.Z-A-Linux-s86_64.sh -p mambaforge-X.Y.z
This will install mambaforge to the
mabaforge-X.Y.Z
subdirectory of
the directory you ran the script from
(~/scratch/condaroot
). The
script will ask some questions, ansering yes to all should
generally work.
~/.bashrc
and
possibly some other dot files. Although you can leave things
like that, in which case conda will be initialized in
every shell whether it needs it or not (and potentially
causing delays in shell startup), we recommend
that you copy the modifications made to the initialization
scripts to a conda specific script (e.g.
cp ~/.bashrc ~/bashrc.conda; cp ~/.bashrc.HOLD ~/.bashrc
and edit the new ~/bashrc.conda
to remove the
lines before the # >>> conda initialize >>>
line.
You can then source this file whenever you wish to use conda.
source ~/bashrc.conda
.
cd ~/scratch/condaroot; conda create -n myenv
This will create a conda environment myenv
;
we recommend you choose a more meaningful name.
conda activate myenv
, replacing
myenv with the name of the environment to activate.
R
. Do
conda install r
.
conda install PACKAGE_NAME
where
PACKAGE_NAME is the name of the package, usually starting
with "r-"
Agg
(for Anti-Grain Geometry engine)
which can produce PNG
files, Cairo
and
Gdk
are other options. Use would be something like:
import matplotlib
# This needs to be done *before* importing pyplot or pylab
matplotlib.use('Agg')
import matplotlib.pyplot as plt
#Do your plotting, e.g.
fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(range(10))
fig.savefig('test.png')
Although R's interactive mode is nice for certain things, when you are doing production runs with tried and true scripts, it is usually easier to use R's batch interface. This is especially useful when submitting jobs to an HPC cluster.
If you have some R code in a file test.R
and you wish to
run it from the command line (or equivalently, from a shell script), you
can simply use the Rscript
command. E.g.
Rscript --no-save --no-restore test.R
The --no-save
and --no-restore
prevent the
saving of the workspace at the end of the session and the restoring of saved
objects at startup. These are typically what you want when running in
batch mode. Older versions of R used the R CMD BATCH
instead
of the Rscript
command; the main difference with the former
is that it optionally takes the name of an output file. Both should work
with currently installed versions of R.
For use on one of the HPC clusters, you will generally need to include the above in a job script, like:
#!/bin/bash
#Request 5 hours
#SBATCH -t 5:00
#Request 4 GiB per CPU-core
#SBATCH --mem-per-cpu=4096
#Request 1 core
#SBATCH -n 1
#Get our profile (and define module command)
. ~/.profile
#Load required modules
module load R/3.3.2
cd MY_WORK_DIRECTORY
#Make sure OpenMP is not "on"
OMP_NUM_THREADS=1
export OMP_NUM_THREADS
Rscript --no-save --no-restore my_R_code.R
User of one of the high-performance computing (HPC) clusters will likely be interested in running R codes that span multiple processors often over multiple nodes. This generally is done using MPI. There are a number of R packages that deal with MPI, including
dopar
functionality via snow
Most users seem to prefer the snow
package, which is presumably
higher level and therefore easier to use than Rmpi
. There are
assorted guides to using R with the snow
package on the web,
including:
Below are just a few tips gleaned from these pages, etc. that users at UMD might find helpful.
module load
the compiler first (not needed for
gcc/4.6.1) and then the OpenMPI library.
--mca btl tcp,self
as shown
in the example below.#!/bin/bash
#Request 5 hours
#SBATCH -t 5:00
#Request 4 GiB per CPU-core
#SBATCH --mem-per-cpu=4096
#Request 40 cores
#SBATCH -n 40
#Get our profile (and define module command)
. ~/.profile
#Load required modules
module load gcc/4.9.3
module load openmpi/1.8.6
module load R/3.3.2
cd MY_WORK_DIRECTORY
#Make sure OpenMP is not "on"
OMP_NUM_THREADS=1
export OMP_NUM_THREADS
#NOTE THE -np 1 below!!!!
#The --mca btl tcp,self arguments restricts communications to
#tcp instead of infiniband. We have seen issues with Rmpi and infiniband
mpirun -np 1 --mca btl tcp,self R CMD BATCH --no-save --no-restore my_R_code.R
NOTE the use of -np 1
in the above.
Although that looks suspicious (telling mpirun to only start one MPI
tasks when we asked for 40 cores), it is actually correct for most uses
of the snow (and derivative) libraries. This is because when using
snow
, typically snow
will spawn its own workers.
If you request something more than 1 MPI task to be launched via the
openmpi
, or omit the -np 1
altogether (which
effectively is asking for mpirun
to launch the number of tasks
given in the #SBATCH -n
line, 40 in this case), you will end
up running e.g. 40 copies of the same code, each of which will try to spawn
about 40 workers via snow
, resulting in a mess (at best very
sluggish performance, and more likely wierd errors).
snow
based R code will at some point invoke the
makeCluster
function. This takes a parameter specifying the
size of the "cluster" to create. Typically, one wants this size to be
one less than the number of cores requested from Slurm. This is
because the process running the R code which spawns the workers is already
consuming one CPU core, so if you try to spawn a number of workers equal to
the number of cores requested of Slurm, there will be one core oversubscribed,
which causes issues. I typically see an error about there being an
insufficient number of "slots" available, and typically the R script just
hangs (doing nothing, but not dying until the job is killed for exceeding
its walltime, and thereby wasting a lot of SUs). Typically, it is better
to do something like:
cl<-makeCluster(mpi.universe.size()-1, type="MPI")