[R] running non-base functions

Thomas Lumley thomas at biostat.washington.edu
Fri Aug 4 22:26:00 CEST 2000


On Fri, 4 Aug 2000, Ely Rabin wrote:

> Having loaded R for windows, I cannot run fnctions that aren't in the
> base folder.
> 
> Typing searchpaths() tells me that only the base folder is in the search
> path.  How can the path be modified to include other folders?


Functions are divided up into packages, which can be loaded with 
   library(packagename)

So to get the modern regression functions in the "modreg" package type
   library(modreg)


Another note: search() is more generally informative than
searchpaths(). It tells you what packages are loaded; searchpaths() tells
you where they were loaded from, which is important mostly for
programmers.

	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

	

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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