This section lists common commands used to manage R packages on the Aster cluster.
Action | Command |
---|---|
Display all currently installed R packages | ncli apm show R --packages |
Check installation status of an R package |
ncli apm show R --packages=<RPackage1>,<RPackage2>,...
Example: ncli apm show R --packages=tree ncli apm show R --packages=tree,lpSolve |
Check status of an OS package installed in the R sandbox area |
ncli apm show R --rpmpackage=<OS_package>
Example: ncli apm show R --rpmpackage=tar |
Remove R packages |
ncli apm remove R --packages=<RPackage1>,<RPackage2>,...
Example: ncli apm remove R --packages=tree ncli apm remove R --packages=tree,lpSolve |
Upgrade specific R packages |
ncli apm install R --packages=<pkg1>[,<pkg2>]
Packages will only be upgraded if the packages specified in the command are more recent than the version already installed.
|
Upgrade OS packages installed in the R sandbox area |
ncli apm upgrade R --rpmpackages=<package1>,<package2>,...
Example: ncli apm upgrade R --rpmpackages=tar The new version of the OS package must be available in the repo directory.
|