[R] Problem loading spatstat.

Rolf Turner r.turner at auckland.ac.nz
Wed Oct 17 21:16:54 CEST 2007


I upgraded to R version 2.6.0 yesterday; now I find that I can't load  
spatstat.

I re-installed spatstat (that part seemed to work without complaint)  
but when
I execute

	> library(spatstat)

I get the error message

Error in dyn.load(file, ...) :
   unable to load shared library '/Users/rturner/Rlib/spatstat/libs/ 
i386/spatstat.so':
   dlopen(/Users/rturner/Rlib/spatstat/libs/i386/spatstat.so, 6):  
Library not loaded: /Library/Frameworks/R.framework/Versions/2.5/ 
Resources/lib/libgfortran.2.dylib
   Referenced from: /Users/rturner/Rlib/spatstat/libs/i386/spatstat.so
   Reason: image not found
Error in library(spatstat) : .First.lib failed for 'spatstat'

That ``2.5'' in the /Library/Frameworks/.... string looks suspicious  
to me; should it be looking for ``2.6''?

Is there a problem with the Mac binary of spatstat on CRAN?

The file

	/Library/Frameworks/R.framework/Versions/2.6/Resources/lib/ 
libgfortran.2.dylib

exists as it would seem that it ought.  However the path

	/Library/Frameworks/R.framework/Versions/2.5/Resources

does not even contain a directory named ``lib''.  There is a  
directory ``library'' , but no ``lib''.

I haven't a clue what to do, since I am constrained to work on this  
Mac OSX system.  If it were
Linux I might have a fighting chance.

Can anyone get me started in the right direction?

		cheers,

			Rolf

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



More information about the R-help mailing list