Compiling rgdal on Mac OS 10.5
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.
To leave a comment
for the author, please follow the link and comment on their blog: dylan's blog
offers daily e-mail updates
news and tutorials
on topics such as: Data science
, Big Data, R jobs
, visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook