[R] rgdal package load problem
BHorn
bxhorn at gmail.com
Fri Jun 22 03:14:53 CEST 2012
Pascal
Thank you for your reply. I have installed GDAL 1.9 Complete [33.6 MiB]
(Snow Leopard & Lion) 2012-6-21. I have also had no problem installing the
the rgdal library for R 2.15 direct form the rgdal_0.7-11.tgz. Finally, I
have updated and sourced my .bash_profile file to ensure GDAL, PROJ, GEOS,
SQLite3 and UnixasimageIO can all be found, 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
Lastly, I have foolowed instructions on CRAN and entered
> setRepositories(ind=1:2)
I then used your command and got the following:
Installing package(s) into
‘/Library/Frameworks/R.framework/Versions/2.15/Resources/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
unable to access index for repository
http://cran.cnr.Berkeley.edu/bin/macosx/leopard/contrib/2.15
Warning in install.packages :
package ‘rgdal’ is not available (for R version 2.15.0)
I saw this problem earlier today. That is why I pulled rgdal_0.7-11.tgz
direct from http://www.kyngchaos.com/macosx/index, which has the latest
files for GDAL, PROJ4 and the rgdal package.
--
View this message in context: http://r.789695.n4.nabble.com/rgdal-package-load-problem-tp4634134p4634157.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list