Created
November 1, 2016 00:49
-
-
Save njtierney/304c6dda945029e40dae8c715e226de2 to your computer and use it in GitHub Desktop.
Code to get the R packages installed on the QUT HPC machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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