Page tree

You can simply install extra R libs to a custom directory at a Gadi login node and then make it working with NCI-data-analysis/2022.06 in both Gadi PBS job, OOD and ARE JupyterLab session. Remember to append your R library directory to the environment R_LIBS.

$ module use /g/data/dk92/apps/Modules/modulefiles
$ module load NCI-data-analysis/2022.06
$ mkdir -p /scratch/fp0/rxy900/Rlibs # Change “/scratch/fp0/rxy900/Rlibs” to your own directory.
$ export R_LIBS=/scratch/fp0/rxy900/Rlibs:$R_LIBS

[rxy900@gadi-login-01 scr_fp0]$ R

R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-conda-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.

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.

> install.packages("rio",lib="/scratch/fp0/rxy900/Rlibs",repos="",dependencies=TRUE)
also installing the dependencies ‘fstcore’, ‘fst’, ‘hexView’, ‘pzfx’, ‘readODS’, ‘rmatio’

trying URL ''
Content type 'application/x-gzip' length 575381 bytes (561 KB)
downloaded 561 KB

trying URL ''
Content type 'application/x-gzip' length 274495 bytes (268 KB)
downloaded 268 KB

trying URL ''
Content type 'application/x-gzip' length 17603 bytes (17 KB)
downloaded 17 KB

> library("rio")

  • No labels