Skip to content
Back to formatted view

Raw Message

Message-ID: <1109870255.5978.24.camel@ramasamy.stats>
Date: 2005-03-03T17:17:34Z
From: Adaikalavan Ramasamy
Subject: Simple suggestion for improvement
In-Reply-To: <fbb1f20f7e191ad81689ea258f9162b7@leeds.ac.uk>

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
>