0

I tried to install sf in R with install.packages("sf"), but encountered this issue.

> install.packages("sf")
...
checking GDAL version >= 2.0.0... no
configure: error: sf is not compatible with GDAL versions below 2.0.0
ERROR: configuration failed for package ‘sf’
...

I got the version of rgdal with library(rgdal), 1.2-13. I tried to use > update.packages("rgdal") to upgrade rgdal. However, the problem still exists.

How can I upgrade rgdal to the newest version?

SparkAndShine
  • 17,001
  • 22
  • 90
  • 134

1 Answers1

0

the problem is not related with rgdal package. You need to install gdal in your computer.