I'm not able to install sf
R
package on Ubuntu 16.04 LTS
. I tried
install.packages("sf")
as well as
devtools::install_github("r-spatial/sf")
after running
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install libudunits2-dev libgdal-dev libgeos-dev libproj-dev
Getting the following error message:
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘sf’
Wonder what is the way to install sf
?
libgdal1-dev
?gdal-config
on the Linux command line. If it doesn't run, it might tell you what package you need for it. If it does run (it should just print a usage message explaining its arguments), something weird is going on and you should maybe log out and in again.... On my system it comes fromlibgdal-dev
which you say you've installed but let's see...