Re: [R] Errors using update.packages()

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Sat 11 Feb 2006 - 20:50:00 EST

David Scott <d.scott@auckland.ac.nz> writes:

> When trying to update packages after the sysadmin updated R on my unix box
> I got errors on some packages. For example for chron:
>
> * DONE (chron)
> mkdir: cannot create directory `/usr/lib/R/library/00LOCK': Permission
> denied
...
> >From the startup:
> Version 2.2.1 (2005-12-20 r36812)
>
> I don't have root privileges but am installing in my private library:
> stat71/dscott10> echo $R_LIBS
> /home/staff/dscott/Computing/R/Rprivatelib
>
> Any suggestions?

update.packages tries to update all available packages, including the system ones. Try
update.packages("/home/staff/dscott/Computing/R/Rprivatelib")  

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sat Feb 11 21:02:29 2006

This archive was generated by hypermail 2.1.8 : Tue 14 Feb 2006 - 00:34:02 EST