[R] Simple suggestion for improvement

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Thu Mar 3 18:17:34 CET 2005


How will you deal with multiple word searches such as

	help.search("eps dev")

One way to implement would be ??"eps dev" but this looks awkward to me.

Regards, Adai


On Thu, 2005-03-03 at 10:21 +0000, Yan Wong wrote:
> On 3 Mar 2005, at 10:08, Duncan Murdoch wrote:
> 
> > That's not a bad suggestion, but it might not be trivial to implement.
> > Right now the "?" is an operator that is parsed like other operators
> > such as "+":  it becomes a function call . To have "??" mean something
> > special would mean changes to the parser, or a special case to the
> > .helpForCall function that the "?" function calls.
> 
> OK, I can see that. Adding another operator might be seen as too great 
> a change to consider "trivial". But the second way (changing the 
> function) seems a little "hacky" to me. Anyway, it is just a suggestion 
> that would save me (and others) some typing time.
> 
> Thanks for replying to my original post,
> 
> Yan
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list