Skip to content

Instantly share code, notes, and snippets.

@dncgst
Last active February 8, 2024 13:45
Show Gist options
  • Save dncgst/111b74066eaea87c92cdc5211949cd1e to your computer and use it in GitHub Desktop.
Save dncgst/111b74066eaea87c92cdc5211949cd1e 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

@tomasiojanuario
Copy link

tomasiojanuario commented Feb 8, 2024 via email

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