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 2 Next »

To find what packages are installed under a specific version of R you can use the following steps:

Option 1

  1. Module load the version of R you want to use

  2. Load R with the command 'R'

    1. ip <- as.data.frame(installed.packages()[,c(1,3:4)])
      rownames(ip) <- NULL
      ip <- ip[is.na(ip$Priority),1:2,drop=FALSE]
      print(ip, row.names=FALSE)
  3. A list of packages will output to the screen

Option 2

  1. You can check the R libraries under the following path to on the cluster

    1. /packages/7x/r/<version of R>/lib64/R/library

  • No labels