Skip to content

Instantly share code, notes, and snippets.

@tomasiojanuario
Forked from dncgst/rgdal_install.md
Created July 21, 2021 17:37
Show Gist options
  • Save tomasiojanuario/e8230685bf12cfd5de80c6e127607fbe to your computer and use it in GitHub Desktop.
Save tomasiojanuario/e8230685bf12cfd5de80c6e127607fbe to your computer and use it in GitHub Desktop.
How to install the rgdal R package

How to install the rgdal R package

> install.packages("rgdal")

  • installing source package ‘rgdal’ ... configure: error: gdal-config not found or not executable.

The packages libgdal-dev and libproj-dev are required:

sudo apt-get install gdal-bin proj-bin libgdal-dev libproj-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment