Installing rgdal on GNU/Linux

Trying to do install.packages("rgdal") on my GNU/Linux machine failed at first. It seems that my system had a couple of libraries not installed, so in the terminal:

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

and then install.packages("rgdal") back in R.

Modified from:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: