Skip to content
Prev 45493 / 63424 Next

R-3.0.0 reg-tests-3.R / survival

Any chance that you might have a personal library, which isn't versioned? If you do and you for some reason installed survival into it, it would explain it.

E.g., I have, with the system-wide R
[1] "/Users/pd/Library/R/2.15/library"                                         
[2] "/opt/local/Library/Frameworks/R.framework/Versions/2.15/Resources/library"
[[1]]
 [1] "abind"      "aplpack"    "car"        "colorspace" "e1071"     
 [6] "effects"    "ellipse"    "Hmisc"      "ISwR"       "leaps"     
[11] "lmtest"     "matrixcalc" "mclust"     "multcomp"   "mvtnorm"   
[16] "pcaPP"      "Rcmdr"      "relimp"     "represent"  "rgl"       
[21] "robustbase" "rrcov"      "sem"        "xtable"     "zoo"       

[[2]]
 [1] "base"       "boot"       "class"      "cluster"    "codetools" 
 [6] "compiler"   "datasets"   "foreign"    "graphics"   "grDevices" 
[11] "grid"       "KernSmooth" "lattice"    "MASS"       "Matrix"    
[16] "methods"    "mgcv"       "nlme"       "nnet"       "parallel"  
[21] "rpart"      "spatial"    "splines"    "stats"      "stats4"    
[26] "survival"   "tcltk"      "tools"      "utils"     

but the one in my development build tree of 3.0.0 has
[1] "/Users/pd/r-release-branch/BUILD-dist/library"

If I explicitly set R_LIBS, I can easily reproduce your error.
On Apr 3, 2013, at 17:00 , Paul Gilbert wrote: