Re: [R] How to know in which package is a function

2005-04-24 Thread Robert Chung
Liaw, Andy wrote: To search among all CRAN (and BioC) packages, your best best is RSiteSearch(fcn, restrict=function). ?RSiteSearch No documentation for 'RSiteSearch' in specified packages and libraries: you could try 'help.search(RSiteSearch)' help.search(RSiteSearch) No help files found

Re: [R] How to know in which package is a function

2005-04-24 Thread Uwe Ligges
Robert Chung wrote: Liaw, Andy wrote: To search among all CRAN (and BioC) packages, your best best is RSiteSearch(fcn, restrict=function). ?RSiteSearch No documentation for 'RSiteSearch' in specified packages and libraries: you could try 'help.search(RSiteSearch)' help.search(RSiteSearch) No

[R] How to know in which package is a function

2005-04-23 Thread Romain Francois
Hello list, I'd like to know if there is a function that tells in which package is a given function. Something like : which.package(lda) [1] MASS Thank you. Romain -- ~ ~~ Romain FRANCOIS - http://addictedtor.free.fr

Re: [R] How to know in which package is a function

2005-04-23 Thread Uwe Ligges
Romain Francois wrote: Hello list, I'd like to know if there is a function that tells in which package is a given function. Something like : which.package(lda) [1] MASS Thank you. Romain getAnywhere(lda) A single object matching 'lda' was found It was found in the following places

Re: [R] How to know in which package is a function

2005-04-23 Thread Douglas Bates
Romain Francois wrote: Hello list, I'd like to know if there is a function that tells in which package is a given function. Something like : which.package(lda) [1] MASS Thank you. Romain Perhaps easiest is help.search(lda) If you know that the name is recognized in your current session (which

RE: [R] How to know in which package is a function

2005-04-23 Thread Liaw, Andy
From: Romain Francois Hello list, I'd like to know if there is a function that tells in which package is a given function. Something like : which.package(lda) [1] MASS getAnywhere(), as Uwe suggested, will find objects that are in attached packages. help.search(), as Doug