Last active
May 19, 2020 17:51
-
-
Save iangow/fa5835db02a95be2f07fd41c0cf2c5fe to your computer and use it in GitHub Desktop.
Snippet to reinstall R packages after an upgrade
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
pkgs <- list.files("/Library/Frameworks/R.framework/Versions/3.6/Resources/library") | |
install.packages(pkgs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment