[R] problems in loading MASS

Weiwei Shi helprhelp at gmail.com
Fri Apr 13 00:04:42 CEST 2007


Hi, there:

After I upgraded my R to 2.4.1, it is my first time of trying to use
MASS and found the following error message:
> install.packages("MASS")
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.cnr.Berkeley.edu/bin/macosx/universal/contrib/2.4/VR_7.2-33.tgz'
Content type 'application/x-gzip' length 995260 bytes
opened URL
==================================================
downloaded 971Kb


The downloaded packages are in
	/tmp/RtmpmAzBwa/downloaded_packages

> library(MASS)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
	unable to load shared library
'/Library/Frameworks/R.framework/Versions/2.4/Resources/library/MASS/libs/i386/MASS.so':
  dlopen(/Library/Frameworks/R.framework/Versions/2.4/Resources/library/MASS/libs/i386/MASS.so,
6): Library not loaded:
/usr/local/gcc4.0/i686-apple-darwin8/lib/libgcc_s.1.0.dylib
  Referenced from:
/Library/Frameworks/R.framework/Versions/2.4/Resources/library/MASS/libs/i386/MASS.so
  Reason: image not found
Error: package/namespace load failed for 'MASS'


> sessionInfo()
R version 2.4.1 (2006-12-18)
i386-apple-darwin8.8.1

locale:
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] "stats"     "graphics"  "grDevices" "utils"     "datasets"
"methods"   "base"

other attached packages:
randomForest        dprep
    "4.5-18"        "1.0"


> version
               _
platform       i386-apple-darwin8.8.1
arch           i386
os             darwin8.8.1
system         i386, darwin8.8.1
status
major          2
minor          4.1
year           2006
month          12
day            18
svn rev        40228
language       R
version.string R version 2.4.1 (2006-12-18)


Thanks
-- 
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.

"Did you always know?"
"No, I did not. But I believed..."
---Matrix III



More information about the R-help mailing list