Skip to content

Instantly share code, notes, and snippets.

@iangow
Last active May 19, 2020 17:51
Show Gist options
  • Save iangow/fa5835db02a95be2f07fd41c0cf2c5fe to your computer and use it in GitHub Desktop.
Save iangow/fa5835db02a95be2f07fd41c0cf2c5fe to your computer and use it in GitHub Desktop.
Snippet to reinstall R packages after an upgrade
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