[R] package update

Joshua Wiley jwiley.psych at gmail.com
Mon Dec 27 08:31:14 CET 2010


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:

> 
> 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 ?
> -- 
> View this message in context: http://r.789695.n4.nabble.com/package-update-tp3164690p3164690.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list