?ls and note the "pattern" argument. e.g.
ls("package:base", pat =".*set.*") Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Jun 23, 2021 at 5:38 AM Greg Minshall <minsh...@umich.edu> wrote: > hi. > > at the R prompt, i often hit, e.g., "data.table::<TAB>", to try to find > a routine in a give package. > > however, some packages have a *lot* of functions (i'm looking at *you*, > ggplot2...), so if i know the routine name starts with, e.g., "set", i > can filter the returned list of routines by typing > "data.table::set<TAB>" to get a list of completions. > > but, what if i know the name *contains*, but doesn't start with, "set"? > > is there an obvious way to find this? something like the unix-y > : ls /bin | grep -i "set" > ? > > cheers, Greg > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.