RGDAL won't install RGDAL won't install r r

RGDAL won't install


First check that everything is up to date with:

sudo apt-get update

On a slight tangent - i usually also install and a few others (needed for libraries like tidyverse):

sudo apt-get install -y libxml2-dev libcurl4-openssl-dev libssl-dev

Then install Rgdal and proj.4 (you may have to click yes a few times):

sudo apt-get install libgdal-dev sudo apt-get install libproj-dev