title: Error installing R package for Linux
body: <p>Im trying to install a package named "rgeos" on R 3.3, but when I type</p>
  
  <pre><code>install.packages("rgeos")
  </code></pre>
  
  <p>But it returns me the following error (same happens with other packages, but not all the packages):</p>
  
  <pre><code>&gt; * installing *source* package ‘rgeos’ ...
  ** package ‘rgeos’ successfully unpacked and MD5 sums checked
  configure: CC: gcc
  configure: CXX: g++
  configure: rgeos: 0.3-19
  checking for /usr/bin/svnversion... no
  configure: svn revision: 524
  checking for geos-config... no
  no
  configure: error: geos-config not found or not executable.
  ERROR: configuration failed for package ‘rgeos’
  * removing ‘/home/kdg/R/x86_64-pc-linux-gnu-library/3.3/rgeos’
  &gt; 
  &gt; The downloaded source packages are in
  &gt;   ‘/tmp/Rtmpsa5pDo/downloaded_packages’ Warning message: In
  &gt; install.packages("rgeos") :   installation of package ‘rgeos’ had
  &gt; non-zero exit status
  </code></pre>
  
  <p>Any clues how con install this package?</p>