[R-sig-Geo] MACOSX: rgdal cannot find GDAL
Agustin Lobo
alobolistas at gmail.com
Fri Dec 24 10:21:13 CET 2010
After having installed GDAL Complete from
http://www.kyngchaos.com/files/software/frameworks/GSL_Framework-1.14-1.dmg,
I try gdalinfo but:
imac-de-agustin-lobo:~ agustinlobo$ gdalinfo --version
-bash: gdalinfo: command not found
Also Spotlight cannot find but the uncompressed folder GDAL Complete,
or any of the installed
programs (i.e. gdalinfo or gdal-config)
imac-de-agustin-lobo:~ agustinlobo$ gdal-config-bash: gdal-config:
command not found
Obviously, rgdal cannot find GDAL
> setRepositories(ind=1:2)
> install.packages("rgdal")
--- Please select a CRAN mirror for use in this session ---
probando la URL
'http://www.stats.ox.ac.uk/pub/RWin/bin/macosx/leopard/contrib/2.12/rgdal_0.6-31.tgz'
Content type 'application/x-gzip' length 10203689 bytes (9.7 Mb)
URL abierta
==================================================
downloaded 9.7 Mb
The downloaded packages are in
/var/folders/iR/iRxOvaG9F10viNoa7WceNU+++TI/-Tmp-//RtmpLu8kR8/downloaded_packages
> require(rgdal)
Loading required package: rgdal
Loading required package: sp
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Library/Frameworks/R.framework/Versions/2.12/Resources/library/rgdal/libs/i386/rgdal.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.12/Resources/library/rgdal/libs/i386/rgdal.so,
6): Library not loaded: libR.dylib
Referenced from:
/Library/Frameworks/R.framework/Versions/2.12/Resources/library/rgdal/libs/i386/rgdal.so
Reason: image not found
More information about the R-sig-Geo
mailing list