Created
September 15, 2015 15:15
-
-
Save drdarshan/42c19475cc43e13e7dd3 to your computer and use it in GitHub Desktop.
This file contains 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
############################################################### | |
# Get list of packages along with a short description | |
############################################################### | |
package.info <- as.data.frame(installed.packages()) | |
package.info <- package.info[,c("Package", "Version")] | |
library.info <- as.data.frame(library()[2]) | |
package.names <- library.info[,1] | |
row.names(library.info) <- package.names | |
package.info["Description"] = library.info[row.names(package.info),3] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment