If I start R by clicking on the R icon on the ``dock'' then I am unable
to load the MASS package.

I get:

 > library(MASS)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library '/Users/rturner/Rlib/MASS/libs/i386/ MASS.so': dlopen(/Users/rturner/Rlib/MASS/libs/i386/MASS.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.7/Resources/lib/ libR.dylib
  Referenced from: /Users/rturner/Rlib/MASS/libs/i386/MASS.so
  Reason: image not found
Error: package/namespace load failed for 'MASS'


Can anyone tell me what's going wrong here?  Anything I can do about it?

If I start R from the command line, there is no problem.

My session info from the GUI:

> sessionInfo()
R version 2.8.1 (2008-12-22)
i386-apple-darwin8.11.1

locale:
en_NZ.UTF-8/en_NZ.UTF-8/C/C/en_NZ.UTF-8/en_NZ.UTF-8

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

loaded via a namespace (and not attached):
[1] tools_2.8.1

And from the command line startup:

> sessionInfo()
R version 2.8.1 (2008-12-22)
i386-apple-darwin8.11.1

locale:
C

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

other attached packages:
[1] misc_0.0-11    fortunes_1.3-5 MASS_7.2-44


Thanks for any insights.

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to