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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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? Thanks, Ely rabin at brandeis.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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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?See the help on attach and library. search() is the usual way to look at the search path: searchpaths() gives information that users don't usually need, but the help system does. By the way, you can run functions you create, which will be in the user workspace .GlobalEnv, the first item on the search list. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._