Skip to content

Instantly share code, notes, and snippets.

@isezen
Created July 4, 2019 08:16
Show Gist options
  • Save isezen/635f9e462f70572ae47b689620bae6d6 to your computer and use it in GitHub Desktop.
Save isezen/635f9e462f70572ae47b689620bae6d6 to your computer and use it in GitHub Desktop.
Run R:
sudo PKG_CONFIG_PATH="/home/programs/anaconda3/lib/pkgconfig/" LD_LIBRARY_PATH="/home/programs/anaconda3/lib" R
run the command:
remotes::install_github("r-spatial/sf", configure.args = "--with-gdal-config=/home/programs/anaconda3/bin/gdal-config --with-geos-config=/home/programs/anaconda3/bin/geos-config --with-proj-include=/home/programs/anaconda3/include/ --with-proj-lib=/home/programs/anaconda3/lib/")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment