title: Trouble getting latest version of GDAL on ubuntu running R
body: <p>My Ubuntu machine has latest GDAL (2.2.1, released 2017/06/23). But R complains that I have gdalversion &lt;2.0</p>
  <pre><code>configure: CC: gcc -std=gnu99
  configure: CXX: g++
  checking for gdal-config... /usr/bin/gdal-config
  checking gdal-config usability... yes
  configure: GDAL: 1.11.3
  checking GDAL version &gt;= 2.0.0... no
  configure: error: sf is not compatible with GDAL versions below 2.0.0 
  </code></pre>
  <p>How can I direct R to access GDAL (2.2.1 version) already installed on Ubuntu?</p>