Created
January 27, 2017 21:50
-
-
Save Sillson/63f4cbf83807c03c7e5b7400171bdb90 to your computer and use it in GitHub Desktop.
install latest version of all R packages that are currently installed
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
install.packages( | |
lib = lib <- .libPaths()[1], | |
pkgs = as.data.frame(installed.packages(lib), stringsAsFactors=FALSE)$Package, | |
type = 'source' | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment