title: How to install forecast package of R in ubuntu 12.04?
body: <p>I tried the following code for installation </p>
  
  <pre><code>&gt;install.packages("forecast")
  </code></pre>
  
  <p>The error occurs like:</p>
  
  <pre><code>ERROR: dependency ‘Rcpp’ is not available for package ‘RcppArmadillo’
  * removing ‘/root/R/x86_64-pc-linux-gnu-library/2.14/RcppArmadillo’
  ERROR: dependencies ‘Rcpp’, ‘RcppArmadillo’ are not available for package ‘forecast’
  * removing ‘/root/R/x86_64-pc-linux-gnu-library/2.14/forecast’
  
  The downloaded packages are in
  ‘/tmp/RtmpJqQfrh/downloaded_packages’
  Warning messages:
  1: In install.packages("forecast") :
  installation of package ‘RcppArmadillo’ had non-zero exit status
  2: In install.packages("forecast") :
  installation of package ‘forecast’ had non-zero exit status
  </code></pre>