[GRASS-user] Re: [GRASS-dev] R/GRASS GIS issue with rgdal

Thomas.Adams at noaa.gov Thomas.Adams at noaa.gov
Sun May 1 11:09:17 EDT 2011


William,

Yes, I expected it to fail as well from the Terminal; thanks for the update!

Tom

----- Original Message -----
From: William Kyngesburye <woklist at kyngchaos.com>
Date: Sunday, May 1, 2011 1:14 am
Subject: Re: [GRASS-dev] R/GRASS GIS issue with rgdal
To: Thomas Adams <Thomas.Adams at noaa.gov>
Cc: grass-user <grass-user at lists.osgeo.org>, GRASS developers list <grass-dev at lists.osgeo.org>

> My rgdal package is made for R 2.12, as it says.  Though the R 
> installer may let you install it anyways, it is linked to the R 2.12 framework.
> 
> I don't know why it loaded from the Terminal.  It should have the same 
> linking error.
> 
> Anyways, looks like I missed an R update.  I need to package a new 
> rgdal for R 2.13 ;)  Watch for it on my frameworks page...
> 
> On Apr 30, 2011, at 6:52 PM, Thomas Adams wrote:
> 
> > All:
> > 
> > Sorry for posting the way I have, but I am not really sure where to 
> send this, as it is NOT a GRASS issue, really, but…
> > 
> > On a Mac running OS X 10.6.7, I have the following issue:
> > 
> > (1) I've loaded the GRASS GRASS-6.4.1-1-Snow.dmg from the KyngChaos 
> Wiki
> > (2) GDAL Complete 1.8 framework package
> > (3) rgdal 0.6.33-1 - R 2.12 package
> > (4) installed R 2.13 Mac binary from CRAN
> > 
> > The curious thing is, if I try to load rgdal through the Mac R GUI, 
> I get:
> > 
> > > library(rgdal)
> > Error in dyn.load(file, DLLpath = DLLpath, ...) :
> > unable to load shared object '/Library/Frameworks/R.framework/Versions/2.13/Resources/library/rgdal/libs/i386/rgdal.so':
> > 
> dlopen(/Library/Frameworks/R.framework/Versions/2.13/Resources/library/rgdal/libs/i386/rgdal.so, 
> 6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.12/Resources/lib/libR.dylib
> > Referenced from: /Library/Frameworks/R.framework/Versions/2.13/Resources/library/rgdal/libs/i386/rgdal.so
> > Reason: image not found
> > Error: package/namespace load failed for 'rgdal'
> > 
> > 
> > However, if I load rgdal in R through a Mac term window R prompt, 
> life is good and I get:
> > 
> > > library(rgdal)
> > Loading required package: sp
> > Geospatial Data Abstraction Library extensions to R successfully loaded
> > Loaded GDAL runtime: GDAL 1.8.0, released 2011/01/12
> > Path to GDAL shared files: /Library/Frameworks/GDAL.framework/Versions/1.8/Resources/gdal
> > Loaded PROJ.4 runtime: Rel. 4.7.1, 23 September 2009
> > Path to PROJ.4 shared files: (autodetected)
> > 
> > Now, I would -only- do GRASS/R stuff through the GRASS & R term 
> window command line prompt anyway, but I find this difference perplexing.
> > 
> > Any thoughts?
> > 
> > Regards,
> > Tom
> > 
> > -- 
> > Thomas E Adams
> > National Weather Service
> > Ohio River Forecast Center
> > 1901 South State Route 134
> > Wilmington, OH 45177
> > 
> > EMAIL:	thomas.adams at noaa.gov
> > 
> > VOICE:	937-383-0528
> > FAX:	937-383-0033
> > 
> > _______________________________________________
> > grass-dev mailing list
> > grass-dev at lists.osgeo.org
> > 
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> 
> 
> "This is a question about the past, is it? ... How can I tell that the 
> past isn't a fiction designed to account for the discrepancy between 
> my immediate physical sensations and my state of mind?"
> 
> - The Ruler of the Universe
> 
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> 


More information about the grass-user mailing list