Skip to content
Prev 10541 / 29559 Next

rgdal from kyngchaos: Error in get(Info[i, 1], envir = env) :

Sorry, I was mixing installations. The problem I report here is the
one with the
rgdal from CRAN repositories. This is the correct story:

After having installed GDAL from
http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.7.dmg
Removing package(s) from ?/Library/Frameworks/R.framework/Resources/library?
(as ?lib? is unspecified)
Error en .find.package(pkgs, lib) : there is no package called 'rgdal'
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-//Rtmpx5JXhi/downloaded_packages
Loading required package: rgdal
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

I do have rgdal.so in that directory:
imac-de-agustin-lobo:i386 agustinlobo$ pwd
/Library/Frameworks/R.framework/Versions/2.12/Resources/library/rgdal/libs/i386
imac-de-agustin-lobo:i386 agustinlobo$ ls -l
total 15088
-rwxr-xr-x  1 agustinlobo  admin  7722168  4 dic 15:57 rgdal.so


I can get rgdal running using the version from kyngchaos, but not with this one.

Thanks,

Agus


2010/12/24 Agustin Lobo <alobolistas at gmail.com>: