Skip to content

Instantly share code, notes, and snippets.

@peterdalle
Created November 26, 2015 12:31
Show Gist options
  • Save peterdalle/e91aded4f7f4192877b0 to your computer and use it in GitHub Desktop.
Save peterdalle/e91aded4f7f4192877b0 to your computer and use it in GitHub Desktop.
Install R libraries to the C:\Users\<You>\R\win-library\x.y\ folder in case of error message "warning in install.packages lib='...' is not writable"
dir.create(Sys.getenv("R_LIBS_USER"), recursive = TRUE)
# http://stackoverflow.com/questions/5059692/unable-to-update-r-packages-in-default-library-on-windows-7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment