[R] package update

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon May 9 12:57:27 CEST 2011



On 08.05.2011 19:54, eric wrote:
> I tried to update my packages using update.packages()
>
> I got the following message:
>
> The downloaded packages are in
> 	‘/tmp/RtmpyDYdTX/downloaded_packages’
> Warning in install.packages(update[instlib == l, "Package"], l, contriburl =
> contriburl,  :
>    'lib = "/usr/lib/R/library"' is not writable
> Error in install.packages(update[instlib == l, "Package"], l, contriburl =
> contriburl,  :
>    unable to install package
>
> How do I fix this ?

If you want to update packages in R's default library in 
/usr/lib/R/library, you will need root permissions.

Uwe Ligges



>
> --
> View this message in context: http://r.789695.n4.nabble.com/package-update-tp3507479p3507479.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