[R-SIG-Mac] rgdal installation problems

Agustin Diez Castillo adiez at uv.es
Mon May 16 17:45:23 CEST 2011


I can't sucessfully install rgdal from kyngchaos in R13(64), to the best of my knowledge I get latest gdal1.8, cairo, freetype and rgdal 0.6.33-2 for snow leopard from William's. I updated sp as well. But it keeps saying:
Error in get(Info[i, 1], envir = env) : 
  internal error -3 in R_decompress1
Error: package/namespace load failed for 'rgdal'
Any ideas?
sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] sp_0.9-81

loaded via a namespace (and not attached):
[1] grid_2.13.0     lattice_0.19-23 tools_2.13.0 


On May 2, 2011, at 1:03 PM, António M. Rodrigues wrote:

> No dia 2 de Maio de 2011 11:32, Prof Brian Ripley
> <ripley at stats.ox.ac.uk>escreveu:
> 
>> On Mon, 2 May 2011, António M. Rodrigues wrote:
>> 
>> Hi,
>>> 
>>> 
>>> I'm trying to instal library rgdal in my macbook (os X 10.6.7).
>>> 
>>> 
>>> I have installed the latest R package (R-2.13.0.pkg).
>>> 
>>> 
>>> I have gdal 1.8 install. Also, I have loaded library sp which rgdal needs.
>>> 
>>> 
>>> I downloaded rdgal_0.6-33.tgz and using R Package installer, I located and
>>> 
>> 
>> Where from?  Not CRAN.
>> 
>> This is better discussed on R-sig-geo, but I suspect that either you have a
>> local GDAL installation and local settings (in which case you probably need
>> to build rgdal from source to match ) or you got rdgal_0.6-33.tgz from
>> someone who has.  (Mine on CRANxtras is entirely static and I have no such
>> directory on my system.)
>> 
>> 
> You were right. I downloaded the file from another source. I just tried the
> one from CRAN and it works.
> 
> Thank you.
> 
> 
> 
> 
>> installed the Local Binary Package.
>>> 
>>> 
>>> When trying to load rgdal ( >library(rgdal)in the R prompt) I get the
>>> error:
>>> 
>>> 
>>> -----
>>> 
>>> Error : .onLoad failed in loadNamespace() for 'rgdal', details:
>>> 
>>> call: fun(...)
>>> 
>>> error:
>>> 
>>> GDAL Error 1: dlopen(/Library/Application
>>> Support/GDAL/1.8/PlugIns/gdal_GRASS.dylib, 1): Library not loaded:
>>> /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
>>> 
>>> Referenced from: /Library/Application
>>> Support/GDAL/1.8/PlugIns/gdal_GRASS.dylib
>>> 
>>> Reason: image not found
>>> 
>>> 
>>> Error: package/namespace load failed for 'rgdal'
>>> 
>>> -----
>>> 
>>> 
>>> Any help will be much appreciated.
>>> 
>>> thanks,
>>> 
>>> Ant?nio
>>> 
>>>       [[alternative HTML version deleted]]
>>> 
>>> 
>>> 
>> --
>> Brian D. Ripley,                  ripley at stats.ox.ac.uk
>> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
>> University of Oxford,             Tel:  +44 1865 272861 (self)
>> 1 South Parks Road,                     +44 1865 272866 (PA)
>> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list