Re: [Rd] RFC: What should ?foo do?

From: hadley wickham <h.wickham_at_gmail.com>
Date: Fri, 25 Apr 2008 09:52:37 -0500

> Consistent with this idea would be something like the "I feel lucky" search
> on Google, i.e. ?foo would go immediately to the best match, while ??foo
> would present a list of possible matches. This is not consistent with
> current behaviour, where ?foo will present a list if it matches two or more
> topics, but I think we can always rank one ahead of the other based on their
> ordering in the search list. I don't know if it will be so easy to rank
> hits coming from help.search(), or from other searches that don't exist yet:
> but maybe it doesn't matter. If someone doesn't like what they get from
> ?foo, they can always try ??foo.

That seems like a good compromise to me - it's a metaphor familiar to most people, and corresponds roughly to the current behaviour of help and help.search.

Hadley

-- 
http://had.co.nz/

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri 25 Apr 2008 - 15:22:15 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Apr 2008 - 16:31:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive