Thank you.  That worked.  I had seen the command sequence previously.  For some reason, it wasnt working (I was told a binary for R2.15 wasnt available).  Regardless it works now.  As proof, Ive ingested a large file from the Shuttle Radar Topography Mission to create a SpatialGridDataFrame.  Satisfaction is real.

On Jun 23, 2012, at 8:20 AM, Ralf Schäfer wrote:

> Dear Brad,
> have you tried to install rgdal from CRAN extras?
> 
> setRepositories(ind=1:2)
> install.packages("rgdal")
> 
> Best regards
> Ralf
> 
> 
> 
>> Message: 12
>> Date: Fri, 22 Jun 2012 15:36:54 -0400
>> From: Brad Horn <bxhorn@gmail.com>
>> To: r-sig-geo@r-project.org
>> Subject: [R-sig-Geo] Rgdal install Mac OS X
>> Message-ID: <FF199A91-C862-4518-A14B-266C7E895D9D@gmail.com>
>> Content-Type: text/plain; charset=windows-1252
>> 
>> I have attempted to install rgdal on OS X, and tried several approaches, but to no avail.  Any help is appreciated.  
>> 
>> Here are the machine and R-version particulars:
>> - Mac OS X 10.6.8
>> - R version 2.15.0 (2012-03-30) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>> 
>> I installed the Kyngchaos GDAL binaries (GDAL 1.9 Complete [33.6 MiB] Snow Leopard & Lion 2012-6-21) along with the associated Kyngchaos rgdal binary (rgdal_0.7-11.tgz).  Per the readme instructions for each component of GDAL, I then updated and sourced my .bash_profile file as follows:
>> 
>> export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH
>> export PATH=/Library/Frameworks/PROJ.framework/Programs:$PATH
>> export PATH=/Library/Frameworks/SQLite3.framework/Programs:$PATH
>> export PATH=/Library/Frameworks/UnixImageIO.framework/Programs:$PATH
>> export PATH=/Library/Frameworks/GEOS.framework/Programs:$PATH
>> 
>> The installation of the rgdal into RStudio appears to have worked, as I have access to all help documentation.  Unfortunately, rgdal does not appear to link properly to associated executables and ultimately fails to load into the workspace, as confirmed below:
>> 
>> library("rgdal")
>> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>> unable to load shared object '/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/x86_64/rgdal.so':
>> dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgdal/libs/x86_64/rgdal.so, 6): Library not loaded: /Library/Frameworks/UnixImageIO.framework/Versions/D/UnixImageIO
>> Referenced from: /Library/Frameworks/SQLite3.framework/Versions/3/SQLite3
>> Reason: image not found
>> Error: package/namespace load failed for ?rgdal?
>> 
>> Has anyone seen this issue?  Ive searched prior r-sig-geo postings, but no solution appears to work.  Any help is appreciated


	[[alternative HTML version deleted]]

