Skip to content

Instantly share code, notes, and snippets.

@njtierney
Created November 1, 2016 00:49
Show Gist options
  • Save njtierney/304c6dda945029e40dae8c715e226de2 to your computer and use it in GitHub Desktop.
Save njtierney/304c6dda945029e40dae8c715e226de2 to your computer and use it in GitHub Desktop.
Code to get the R packages installed on the QUT HPC machine
# taken from https://www.r-bloggers.com/list-of-user-installed-r-packages-and-their-versions/
ip <- as.data.frame(installed.packages()[,c(1,3:4)])
rownames(ip) <- NULL
ip <- ip[is.na(ip$Priority),1:2,drop=FALSE]
write.csv(ip, "r_package_list.csv")
print(ip, row.names=FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment