Skip to content

Instantly share code, notes, and snippets.

@davan690
Created January 2, 2020 23:00
Show Gist options
  • Save davan690/b0d01e74b7516e724633e5bc074d2475 to your computer and use it in GitHub Desktop.
Save davan690/b0d01e74b7516e724633e5bc074d2475 to your computer and use it in GitHub Desktop.
a quick script to set location of R library to local program files library
myPaths <- .libPaths("C:/Program Files/R/R-3.6.2/library")
myPaths <- c(myPaths)
.libPaths(myPaths) # add new path
.libPaths()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment