Compiling rgdal on Mac OS 10.5
Submitted by dylan on Fri, 2012-08-31 19:25.
Why do I always forget how to do this?
R CMD INSTALL rgdal --configure-args="--with-gdal-config=/Library/Frameworks/GDAL.framework/Versions/Current/unix/bin/gdal-config --with-proj-include=/Library/Frameworks/PROJ.framework/Versions/4/Headers/ --with-proj-lib=/Library/Frameworks/PROJ.framework/Versions/Current/unix/lib/"
You will need to adjust the paths based on your version of the GDAL and Proj4 frameworks.