Skip to content

package update

2 messages · eric, Joshua Wiley

#
I'm running Linux Ubuntu and tried to update my packages using the
update.package() command. It appeared to download the updates ok but I got
the following message:


The downloaded packages are in ?/tmp/RtmpFM82Ry/downloaded_packages?
Warning in install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl,  :
  'lib = "/usr/lib/R/site-library"' is not writable
Error in install.packages(update[instlib == l, "Package"], l, contriburl =
contriburl,  : 
  unable to install packages
Calls: update.packages -> install.packages

What does this mean ? And more importantly, how do I address it ?
#
Either switch the library path to a writable directory or run it as a su or sudo so you have the necessary permissions.

Cheers,

Josh
On Dec 26, 2010, at 20:45, eric <ericstrom at aol.com> wrote: