Skip to content

Availability of MacOS X binary for rgeos

3 messages · Hisaji ONO, Ben Madin, Roger Bivand

#
If you install the geos available from 

http://www.kyngchaos.com/software/frameworks

the rgeos from source code works OK as long as you direct the lib and include to the right places. You may want proj4 as well. Check the dependencies, I think you will need the UNIX Image IO frameworks as well

cheers

Ben
On 23/09/2011, at 9:16 AM, hi_ono2001 at ybb.ne.jp wrote:

            
#
On Fri, 23 Sep 2011, hi_ono2001 at ybb.ne.jp wrote:

            
As the package page on CRAN

http://cran.r-project.org/web/packages/rgdal/index.html

says:

rgdal binaries for OSX are available from the CRAN (extras) repository

which you access by setting:

setRepositories(ind=1:2)
install.packages("rgdal")

These are built with the same basic set of drivers as the CRAN Windows 
binaries, and only support Intel architectures.

There is advice on installing rgdal on OSX using Kyngchaos frameworks on:

http://www.r-bloggers.com/installing-rgdal-on-mac-os-x-2/

and on the rgdal CRAN page under system requirements; Kyngchaos also has 
binary package builds using the frameworks; this has some experience too:

http://stackoverflow.com/questions/7168345/problems-installing-rgeos-and-rgdal-on-mac-os-x-lion

See also:

https://stat.ethz.ch/pipermail/r-sig-geo/2011-May/011629.html

for answers to a similar question on this list.

Hope this helps,

Roger