How do I reinstall a base-R package (e.g., stats, graphics, utils, etc.)?
问题 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" 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