Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Overview

ARCC is currently exploring ways to best support R users on Teton and across disciplines and the 100s of libraries being used.

We have built a version of R 4.0.5 with a selection of common libraries pre-installed.

This can be loaded by:

[]$ module load gcc/7.3.0 r/4.0.5-py27

[]$ R
R version 4.0.5 (2021-03-31) -- "Shake and Throw"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

Listing Packages

Since this build has > 500 libraries, there are too many to individually list here.

You can find if a package is available by:

> row.names(installed.packages())
  [1] "annotate"             "AnnotationDbi"        "assertthat"          
  [4] "backports"            "BH"                   "Biobase"             
  [7] "BiocGenerics"         "BiocParallel"         "BiocVersion"         
 [10] "Biostrings"           "BSgenome"             "Cairo"               
 [13] "callr"                "checkmate"            "chromVAR"  
 ...

Alternatively, if you wish to list a package per line, with its version, you can use:

> ip = as.data.frame(installed.packages()[,c(1,3:4)])
> ip = ip[is.na(ip$Priority),1:2,drop=FALSE]
> ip
                                  Package    Version
annotate                         annotate     1.68.0
AnnotationDbi               AnnotationDbi     1.52.0
assertthat                     assertthat      0.2.1
backports                       backports      1.2.1
BH                                     BH   1.75.0-0
Biobase                           Biobase     2.50.0
BiocGenerics                 BiocGenerics     0.36.1
BiocParallel                 BiocParallel     1.24.1
BiocVersion                   BiocVersion     3.12.0
Biostrings                     Biostrings     2.58.0
BSgenome                         BSgenome     1.58.0
Cairo                               Cairo   1.5-12.2
callr                               callr      3.5.1
...

Package CNVRG:

One package that we currently haven’t explicitly installed is CNVRG. Since this is under active development we are waiting until it has a stable version, and then at this point we can look at packaging it with the others.

Issues:

Conflicting Versions of Libraries: libPath()

Please see https://arccwiki.atlassian.net/wiki/spaces/DOCUMENTAT/pages/1387855892/R+on+Teton#Conflicting-libPaths

Requesting a Package to be Included:

We are looking to review the base version of R and list of packages on a semi-regular basis, so if there is a useful package that is being widely used across a group then we can consider adding it to the package list. Please send a request to the arcc-help@uwyo.edu email list. Please be aware that we can not always install a package due to conflicting dependencies issues with other packages and low level system level requirements. In these cases we can look at building a bespoke container for this purpose.

  • No labels