title: Error while installing R packages
body: <p>While trying to install the 'Rook' package in R i'm getting the following error:</p>
  
  <pre><code>** package ‘Rook’ successfully unpacked and MD5 sums checked
  ** libs
  sh: 1: -f: not found
  ERROR: compilation failed for package ‘Rook’
  * removing ‘/usr/lib/R/site-library/Rook’
  
  The downloaded packages are in
      ‘/tmp/RtmpPW6kC2/downloaded_packages’
  Warning message:
  In install.packages("Rook", repos = "http://cran.r-project.org") :
    installation of package ‘Rook’ had non-zero exit status
  </code></pre>
  
  <p>I used both the install.packages() function and the terminal to install the package, but received the same message. Any ideas?</p>
  
  <p>OS: Ubuntu 12.04.</p>