[R] how do I install add on packages?

David Brahm a215020 at agate.fmr.com
Wed Nov 14 16:30:20 CET 2001


The result of help.search("install") is:
   remove.packages(base)
   update.packages(base)
   INSTALL(base)

Jeff D. Hamann <jeff_hamann at hamanndonald.com> wrote:
> what's base?

In each case, the function was found in the package called "base".  If you type
   R> search()
   R> ls("package:base")
you'll see "base" is last on your search path, and it contains all the core R
functions.

One cool thing about help.search() is that it searches all packages in your
library, even ones that aren't attached, so the name in parentheses may be
critical to finding the function.  Example:
  R> help.search("predict.nlme")
     ...
     predict.nlme(nlme)     Predictions from an nlme Object
  R> find("predict.nlme")
     character(0)
  R> require(nlme)
     ...
  R> find("predict.nlme")
    [1] "package:nlme"

				-- David Brahm (brahm at alum.mit.edu)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list