[R] unable to load Hmisc in R 2.14.0

Jacob Wegelin jacobwegelin at fastmail.fm
Thu Nov 10 20:32:40 CET 2011


On my MacBook Pro (OS 10.6.8), after updating to R version 2.14.0 (2011-10-31) and reinstalling the Hmisc package, I am unable to load the Hmisc library.

Hmisc was working *before* I updated R.

Any idea what's wrong?

Details below.

> install.packages("Hmisc", dependencies=TRUE)
trying URL
'http://cran.case.edu/bin/macosx/leopard/contrib/2.14/Hmisc_3.9-0.tgz'
Content type 'application/x-gzip' length 1457353 bytes (1.4 Mb)
opened URL
==================================================
downloaded 1.4 Mb


The downloaded packages are in
 	/var/folders/HR/HRdt7XjbGC4gfgEM2M7yWE+++TM/-Tmp-//RtmpvPPB8R/downloaded_packages
> library(Hmisc)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
   unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.14/Resources/library/Hmisc/libs/x86_64/Hmisc.so':
   dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/library/Hmisc/libs/x86_64/Hmisc.so,
6): Library not loaded:
@rpath/R.framework/Versions/2.14/Resources/lib/libR.dylib
   Referenced from:
/Library/Frameworks/R.framework/Versions/2.14/Resources/library/Hmisc/libs/x86_64/Hmisc.so
   Reason: image not found
Error: package/namespace load failed for ‘Hmisc’
> 
> sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] splines   stats     graphics  grDevices utils     datasets  methods
base

other attached packages:
[1] survival_2.36-10

loaded via a namespace (and not attached):
[1] cluster_1.14.1 grid_2.14.0    lattice_0.20-0 psych_1.1.11
tools_2.14.0 
>

Jacob A. Wegelin
Assistant Professor
Department of Biostatistics
Virginia Commonwealth University
830 E. Main St., Seventh Floor
P. O. Box 980032
Richmond VA 23298-0032


More information about the R-help mailing list