[R] update.packages() doesn't work anymore

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Jan 24 19:16:33 CET 2001

s-luppescu at uchicago.edu writes:

> For some reason, update.packages(), one of the greatest features of R, doesn't
> work anymore (perhaps since I upgraded to 1.2.1?). It downloads the new
> packages, but when it tries to build them, I get this message:
> WARNING: ignoring environment value of R_HOME
> /var/tmp/R-base-root/usr/lib/R/bin/Rcmd:
> /var/tmp/R-base-root/usr/lib/R/bin/Rcmd: No such file or directory
> I save the downloaded packages and then do R INSTALL <pkgname> at the command
> line, and it works fine. I tried setting lib=/usr/lib/R and also the R_HOME
> environment var, but that didn't help. What am I doing wrong?

What does "R RHOME" tell you?

Is R_HOME set in the environment? If so, try removing it.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list