This script will output the package name and version number:
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
# generates the list of user installed packages and prints out the name and version number | |
user_packages <- as.data.frame(installed.packages(priority="NA"), stringsAsFactors=F) | |
print(unique(user_packages[c('Package', 'Version')]), row.names=F) |