Skip to content
Prev 16752 / 29559 Next

Rgdal on osx 10.8 (homebrew)

Thanks Roger!


the compiler was the problem :)

using the terminal instead of R.app (GUI)
i was able to install rgdal correctly exptoring CC & CXX  using gcc & g++  
(the default on OSX 10.8.x , Xcode 4.5.x are :  clang & clang++)

so what i had to do :

wget http://cran.cs.wwu.edu/src/contrib/rgdal_0.7-22.tar.gz

export CC=/usr/bin/gcc
export CXX=/usr/bin/g++ 

R CMD INSTALL rgdal_0.7-22.tar.gz

--Massimo.



Il giorno 26/nov/2012, alle ore 02:40, Roger Bivand <Roger.Bivand at nhh.no> ha scritto: