[R] Error using update.packages
goran.brostrom at gmail.com
Fri Feb 19 10:58:53 CET 2010
I'm updating packages by
$ sudo R --vanilla
when I (finally) get the error message:
Error in unloadNamespace(pkg_name) :
name space 'survival' is still used by: 'eha'
* removing '/usr/local/lib64/R/library/survival'
* restoring previous '/usr/local/lib64/R/library/survival'
I have never seen this before. I guess that R at start-up has read my
and it seems to be the case: when I remove it, install.packages()
works as expected.
According to my understanding, the --vanilla flag should make R ignore
what have I missed? Note that sessionInfo() does not report 'eha'.
R version 2.10.1 (2009-12-14)
 LC_CTYPE=sv_SE LC_NUMERIC=C LC_TIME=sv_SE
 LC_COLLATE=sv_SE LC_MONETARY=C LC_MESSAGES=sv_SE
 LC_PAPER=sv_SE LC_NAME=C LC_ADDRESS=C
 LC_TELEPHONE=C LC_MEASUREMENT=sv_SE LC_IDENTIFICATION=C
attached base packages:
 stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
 tcltk_2.10.1 tools_2.10.1
More information about the R-help