striatum
striatum

Reputation: 1598

R under Mac suddenly does not allow access to lib

Only today I realized that R under Mac (both app and console) does not allow anymore upgrading/installing packages. It barks:

Warning in install.packages(update[instlib == l, "Package"], l, contriburl = contriburl, : 'lib = "/Library/Frameworks/R.framework/Resources/library/"' is not writable

Can anyone explain what is going on and how to fix?

Thanks!

Upvotes: 0

Views: 390

Answers (1)

striatum
striatum

Reputation: 1598

I have managed to make it work again as before taking following steps:

  1. cd /Library/Frameworks/R.framework/Versions/
  2. sudo chown -R :staff 3.2/
  3. sudo chown -R :staff Current

[where Current is just a symbolic link to 3.2/]

However I still to not understand what on Earth have happened... :-)

Upvotes: 1

Related Questions