I found the solution in an old post: It's lsf.str("package:ts")
for functions. Cool! On Fri, Apr 27, 2012 at 4:12 PM, Mark Leeds <marklee...@gmail.com> wrote: > Hi Erin: I don't know how to do it programatically but it might be quicker > to just > go to the vignette and click on it. All the functions should be in the right > column of > the pdf. Of course, you may have reason for needing it programatically in > which > case, my apologies for the noise !!!!! > > On Fri, Apr 27, 2012 at 5:07 PM, Erin Hodgess <erinm.hodg...@gmail.com> > wrote: >> >> Hello R People: >> >> Is there a way to determine if a function exists in a particular >> package, please? >> >> I looked at exists and objects, but they seem to refer to an >> environment rather than a package. >> >> I was thinking of something like: >> >> ifelse(exists(functiona) in MASS, print(1:10), print(5)) >> >> Thanks, >> Erin >> >> >> -- >> Erin Hodgess >> Associate Professor >> Department of Computer and Mathematical Sciences >> University of Houston - Downtown >> mailto: erinm.hodg...@gmail.com >> >> ______________________________________________ >> 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. > > -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodg...@gmail.com ______________________________________________ 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.