The situation is that I know there is a function and know approximately what the name is, and want to find the exact name. Is there a way of searching for near-matches (similar to unix apropos). For example, I know there is a function called something like allequal (or allequals or AllEquals or...). But ?allequal, etc, return nothing, only if I remember the name can I get help via ?all.equal. Thanks -- View this message in context: http://www.nabble.com/searching-help-for-partial-matches-tp24078042p24078042.html Sent from the R help mailing list archive at Nabble.com.
Steve Jaffe wrote:> The situation is that I know there is a function and know approximately what > the name is, and want to find the exact name. Is there a way of searching > for near-matches (similar to unix apropos). For example, I know there is a > function called something like allequal (or allequals or AllEquals or...). > But ?allequal, etc, return nothing, only if I remember the name can I get > help via ?all.equal. > > Thanks >??Allequal gets me there, admittedly not as cleverly as google would do if I failed to spell it correctly, for instance. ??Allepual No help files found matching ?Allepual? using fuzzy matching HTHH, baptiste
?help.search help.search("allequal") help.search(apropos="allequal") ??allequal On 17/06/09 18:12, Steve Jaffe wrote:> The situation is that I know there is a function and know approximately what > the name is, and want to find the exact name. Is there a way of searching > for near-matches (similar to unix apropos). For example, I know there is a > function called something like allequal (or allequals or AllEquals or...). > But ?allequal, etc, return nothing, only if I remember the name can I get > help via ?all.equal. > > Thanks >[[alternative HTML version deleted]]
On 17/06/09 18:20, baptiste auguie wrote:> ??Allequal > > gets me there, admittedly not as cleverly as google would do if I > failed to spell it correctly, for instance. > > ??Allepual > No help files found matching ?Allepual? using fuzzy matching > >But it *almost* gets you there; try help.search("Allepual", agrep=0.13) Allan
Double the question mark as in: ??allequal Uwe Ligges Steve Jaffe wrote:> The situation is that I know there is a function and know approximately what > the name is, and want to find the exact name. Is there a way of searching > for near-matches (similar to unix apropos). For example, I know there is a > function called something like allequal (or allequals or AllEquals or...). > But ?allequal, etc, return nothing, only if I remember the name can I get > help via ?all.equal. > > Thanks