title: Installation of R fpc package
body: <p>I'm having a particularly hard time trying to get the 'fpc' package in R to install on Ubuntu 13.04. </p>
  
  <p>The code I've written contains a line like:</p>
  
  <pre><code>install.packages('fpc') ; library(fpc)
  </code></pre>
  
  <p>which gives the output:</p>
  
  <pre><code>Error in contrib.url(repos, type) : 
   trying to use CRAN without setting a mirror
  Calls: install.packages -&gt; grep -&gt; contrib.url
  Execution halted
  </code></pre>
  
  <p>I haven't messed around with the .Rprofile file yet, and googling the issue reveals that this may be the cause (<a href="https://stat.ethz.ch/pipermail/r-devel/2009-October/055136.html" rel="noreferrer">https://stat.ethz.ch/pipermail/r-devel/2009-October/055136.html</a>) - the response here is pretty cryptic (and all I understand from this link is that I may not be setting a mirror). </p>
  
  <p>Anyway, I've literally downloaded all packages from apt-get:</p>
  
  <pre><code>sudo apt-get install r-cran-*
  </code></pre>
  
  <p>and so far that hasn't fixed the issue. Any suggestions??</p>
  
  <p>Thanks!</p>