Hello! Now,the package rgdal not work in OS X Yosemite,how to replace? ???
About rgdal package
3 messages · 163, Roger Bivand, Thiago V. dos Santos
On Wed, 19 Nov 2014, 163 wrote:
Hello! Now,the package rgdal not work in OS X Yosemite,how to replace?
If by "not work", you mean that there is no CRAN binary for OSX Mavericks and subsequent, please see: https://stat.ethz.ch/pipermail/r-sig-mac/2014-April/010860.html and later https://stat.ethz.ch/pipermail/r-sig-mac/2014-May/010871.html (posted on this list in May), that is: setRepositories(ind = c(1,6)) # so you get the dependencies from CRAN install.packages('rgdal') (untried for Yosemite by me - has anyone experience of the CRANxtras OSX binary on this release?). If this doesn't work, try Kyngchaos: http://www.kyngchaos.com/software/frameworks but note that Yosemite is not mentioned there specifically. Using OSX (especially newer releases) is like Unix, not like Windows, and you have to be prepared to install from source, including installing external dependencies from source. If you meant something else, you need to say what you meant and document it with a reproducible example (works on Windows with R version, rgdal version and rgdal startup messages, doesn't work on OSX with the same platform data). Roger
???
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Roger Bivand Department of Economics, Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 91 00 e-mail: Roger.Bivand at nhh.no
I managed to install rgdal from source on Yosemite by: 1) installing the GDAL 1.11 complete framework provided by kyngchaos.com;2) pointing the right paths when building rgdal. This should work (type on system terminal, not on R prompt): R CMD INSTALL rgdal_0.9-1.tar.gz --configure-args='--with-gdal-config=/Library/Frameworks/GDAL.framework/Programs/gdal-config --with-proj-include=/Library/Frameworks/PROJ.framework/unix/include --with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib In case you need it, the rgeos package can be installed conversely.? Hope it helps, -- Thiago V. dos Santos PhD student Land and Atmospheric Science University of Minnesota http://www.laas.umn.edu/CurrentStudents/MeettheStudents/ThiagodosSantos/index.htm Phone: (612) 323 9898
On Wednesday, November 19, 2014 2:16 AM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
On Wed, 19 Nov 2014, 163 wrote:
Hello! Now,the package rgdal not work in OS X Yosemite,how to replace?
If by "not work", you mean that there is no CRAN binary for OSX Mavericks and subsequent, please see: https://stat.ethz.ch/pipermail/r-sig-mac/2014-April/010860.html and later https://stat.ethz.ch/pipermail/r-sig-mac/2014-May/010871.html (posted on this list in May), that is: setRepositories(ind = c(1,6))? # so you get the dependencies from CRAN install.packages('rgdal') (untried for Yosemite by me - has anyone experience of the CRANxtras OSX binary on this release?). If this doesn't work, try Kyngchaos: http://www.kyngchaos.com/software/frameworks but note that Yosemite is not mentioned there specifically. Using OSX (especially newer releases) is like Unix, not like Windows, and you have to be prepared to install from source, including installing external dependencies from source. If you meant something else, you need to say what you meant and document it with a reproducible example (works on Windows with R version, rgdal version and rgdal startup messages, doesn't work on OSX with the same platform data). Roger
???
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Roger Bivand Department of Economics, Norwegian School of Economics, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 91 00 e-mail: Roger.Bivand at nhh.no _______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo [[alternative HTML version deleted]]