I found a hack to avoid this bug(?): My personal .Rprofile file loads 'survival'. The hack is to remove/rename the file.

Another hack is to log in (su -) as root (sudo -s doesn't help).
This behaviour is also present when I run 'update.packages', even if I start R by 'sudo R --vanilla'! I have reported this to R-help.

Should I report this to R-bugs?

Göran



Göran Broström wrote:
I'm trying to build R-patched_2010-02-17.tar.gz, 'make' ends with

make[2]: Entering directory `/usr/local/src/R/R-patched/src/library/Recommended'
begin installing recommended package boot
Loading required package: survival
Error: package 'survival' could not be loaded
In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :
  there is no package called 'survival'
Execution halted
make[2]: *** [boot.ts] Error 1
make[2]: Leaving directory `/usr/local/src/R/R-patched/src/library/Recommended'
make[1]: *** [recommended-packages] Error 2
make[1]: Leaving directory `/usr/local/src/R/R-patched/src/library/Recommended'
make: *** [stamp-recommended] Error 2

# uname -a
Linux tal 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 02:39:34 UTC 2010 x86_64 GNU/Linux

Göran

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

--
Göran Broström               phone: +46 90 786 5223
Department of Statistics,    fax: +46 90 786 6614
Umeå University              email: g...@stat.umu.se
SE-90187 Umeå, Sweden        http://tal.stat.umu.se/~gb

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to