0

I tried to install rgdal by building from sources but it returns an error:

enter image description here

Can anyone help?

WhiteViking
  • 3,146
  • 1
  • 19
  • 22
Le Yi
  • 21
  • 1
  • 1
    you need to first install gdal on your pc and then install the rgdal package – maRtin Oct 11 '15 at 16:12
  • 1
    One way of installing GDAL on your Mac is via Homebrew (http://brew.sh). First install Homebrew, then `brew install gdal` in a Terminal to install GDAL. – WhiteViking Oct 11 '15 at 16:18
  • I second the use of `homebrew` but there's also a pretty [comprehensive explanation](http://tlocoh.r-forge.r-project.org/mac_rgeos_rgdal.html) of how to do this on OS X (not requiring `homebrew` and offering 3 alternative ways). – hrbrmstr Oct 11 '15 at 18:00
  • Thanks @maRtin, WhiteViking and hrbrmstr! My problem's been solved!!! Thank you so much!!! – Le Yi Oct 12 '15 at 12:41

0 Answers0