[R] Errors using update.packages()

Peter Dalgaard p.dalgaard at biostat.ku.dk
Sat Feb 11 10:50:00 CET 2006


David Scott <d.scott at 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 at biostat.ku.dk)                  FAX: (+45) 35327907




More information about the R-help mailing list