On 11/10/2011 11:32 AM, Jacob Wegelin wrote:
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?
Likely the same problem as discussed in this thread:
https://stat.ethz.ch/pipermail/r-sig-mac/2011-November/008760.html
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
--
Brian S. Diggs, PhD
Senior Research Associate, Department of Surgery
Oregon Health Science University
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.