The stats package should be installed automatically, and loaded by default when you start R.
The search() command will show you which packages are loaded, for example on my computer starting with R --vanilla: > search() [1] ".GlobalEnv" "package:stats" "package:graphics" [4] "package:grDevices" "package:utils" "package:datasets" [7] "package:methods" "Autoloads" "package:base" The stats package is already loaded. If for some reason this is untrue for you, we need more information, as requested in the posting guide, including OS and R version. Sarah On Tue, Feb 9, 2010 at 7:09 AM, syrvn <ment...@gmx.net> wrote: > > Hi, > > since nearly 2 hours I try to install the stats package which includes the > prcomp package for > principal component analysis. I can not find the stats package via the R > paket-repository. > I found the following url (http://finzi.psych.upenn.edu/R/library/stats/) > which includes > 2 files: stats.rdb and stats.rdx. I downloaded both files and tried to > install them via the R installer > choosing local packets (binary and source) but both variants failed. > > Can anyone help? > > best > mentor -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.