Skip to content

Permission denied error while updating R packages

1 message · David Winsemius

#
This is just a guess, ... did you install that version of R through MacPorts? The most recent version of OSX has nailed down a lot of system folders to which write access used to be available.
You should use the binary installer package to update to the current version of R. Then your .libPaths() result should be:

[1] "/Library/Frameworks/R.framework/Versions/3.2/Resources/library"

You can then add  "/Users/iryna/Library/R/3.2/library" with:

 .libPaths(c("/Users/iryna/Library/R/3.2/library", .libPaths() ) ) 

, then copy old packages from your libraries, 
 and run (from the R console):  update.packages(checkBuilt=TRUE)
Please post in plain text.
David Winsemius
Alameda, CA, USA