[R-sig-Geo] rgdal from kyngchaos: Error in get(Info[i, 1], envir = env) :
Agustin Lobo
alobolistas at gmail.com
Mon Dec 27 21:27:01 CET 2010
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
> remove.packages("rgdal")
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'
> setRepositories(ind=1:2)
> install.packages("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
> require(rgdal)
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>:
> After having installed GDAL from
> http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.7.dmg
> and downloading
> http://www.kyngchaos.com/files/software/frameworks/rgdal-0.6.29-1.zip
> I install rgdal and get:
>
>> install.packages("/Users/agustinlobo/Downloads/rgdal/rgdal_0.6-29.tgz")
> inferring 'repos = NULL' from the file name
>> require(rgdal)
> Loading required package: rgdal
> Error in get(Info[i, 1], envir = env) :
> no se puede asignar un bloque de memoria de tamaño 2.2 Gb
>
> (== cannot assign a memory block of size 2.2 Gb)
>
> Is this a particular problem in this computer? Any fix?
>
> (BTW, cannot find how to get these messages in English)
>
> Agus
>
More information about the R-sig-Geo
mailing list