[R] searching help for partial matches
David Winsemius
dwinsemius at comcast.net
Wed Jun 17 19:41:49 CEST 2009
On Jun 17, 2009, at 1:31 PM, Steve Jaffe wrote:
>
> help.search -- excellent
>
> I'm a bit confused though -- doc seems to say that ??pattern is same
> as
> help.search(pattern) but it doesn't work that way for me...I'd been
> trying
> ?? for some time without success.
I thought the docs on this point were misleading, too, but later
realized I was expecting too much of the interpreter. See:
??"allequal" # does what you wanted.
help.search(allequal) # so this doesn't work either
>
> For example,
> ??allequal #returns
> No documentation for '?allequal' in specified packages and libraries:
> you could try '???allequal'
Too many "?" ?
>
> It looks like it is treating "?allequal" as the input to the ?
> function...
> Any idea what I need to get this work correctly?
>
> Thanks
>
> ?help.search
> help.search("allequal")
> help.search(apropos="allequal")
> ??allequal
>
>
> --
> View this message in context: http://www.nabble.com/searching-help-for-partial-matches-tp24078042p24078399.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list