title: How do I reinstall a base-R package (e.g., stats, graphics, utils, etc.)?
body: <p>I have been using the "stats" package in R 3.0.1 without any problems . But today i deleted the "stats" folder from the R library location and now I can't install it any more. I tried doing the same thing with other packages but I could install everything except "stats"</p>
  
  <pre><code>install.packages("stats", dep = TRUE, repos="http://cran.cs.wwu.edu")
  
  ## Installing package into ‘%Default R Lib Installation Path%’   
  ## (as ‘lib’ is unspecified)  
  ## Warning in install.packages :   package ‘stats’ is not available (for R version 3.0.1)
  </code></pre>
  
  <p>I also tried downloading it from other sources like "<a href="http://cran.ma.imperial.ac.uk/" rel="noreferrer">http://cran.ma.imperial.ac.uk/</a>" but nothing works . Any ideas?</p>