Re: [Rd] A possible improvement to apropos

2006-12-15 Thread Kurt Hornik
> Seth Falcon writes: > Kurt Hornik <[EMAIL PROTECTED]> writes: >>> Robert Gentleman writes: >> >>> I would also, personally prefer some sort of approximate matching since >>> there are different ways to spell some words, and some folks abbreviate >>> parts of words. >> >> The same des

Re: [Rd] A possible improvement to apropos

2006-12-15 Thread Seth Falcon
Kurt Hornik <[EMAIL PROTECTED]> writes: >> Robert Gentleman writes: > >> I would also, personally prefer some sort of approximate matching since >> there are different ways to spell some words, and some folks abbreviate >> parts of words. > > The same design has been employed by help.search

Re: [Rd] A possible improvement to apropos

2006-12-15 Thread Kurt Hornik
> Robert Gentleman writes: > I would vastly prefer apropos to be case insensitive by default. The > point of it is to find things similar to a string, not the same as, and > given that capitalization in R is somewhat erratic (due to many authors, > and some of those changing their minds ove

Re: [Rd] A possible improvement to apropos

2006-12-14 Thread Martin Maechler
> "Seth" == Seth Falcon <[EMAIL PROTECTED]> > on Thu, 14 Dec 2006 07:16:30 -0800 writes: Seth> Martin Maechler <[EMAIL PROTECTED]> writes: >> Hi Seth, Could you live with typing 'i=T' (i.e. >> ignore.case=TRUE)? Seth> I can live with my ~/.Rprofile, I suppose. :-)

Re: [Rd] A possible improvement to apropos

2006-12-14 Thread Robert Gentleman
I would vastly prefer apropos to be case insensitive by default. The point of it is to find things similar to a string, not the same as, and given that capitalization in R is somewhat erratic (due to many authors, and some of those changing their minds over the years), I find the current apropo

Re: [Rd] A possible improvement to apropos

2006-12-14 Thread Seth Falcon
Martin Maechler <[EMAIL PROTECTED]> writes: > Hi Seth, > Could you live with typing 'i=T' (i.e. ignore.case=TRUE)? I can live with my ~/.Rprofile, I suppose. :-) > In principle, I'd like to keep the default as ignore.case=FALSE, > since we'd really should teach the users that R > *is* case s

Re: [Rd] A possible improvement to apropos

2006-12-14 Thread stefano iacus
I would second Seth here, because the search is case insensitive but results are not. This is not strictly related to the language. For example, on my shell, the last entries of apropos system are xload(1) - system load average display for X xlogo(1) - X Window

Re: [Rd] A possible improvement to apropos

2006-12-14 Thread Martin Maechler
Hi Seth, > "Seth" == Seth Falcon <[EMAIL PROTECTED]> > on Wed, 13 Dec 2006 16:38:02 -0800 writes: Seth> Hello all, I've had the following apropos alternative Seth> in my ~/.Rprofile for some time, and have found it Seth> more useful than the current version. Basically, my

[Rd] A possible improvement to apropos

2006-12-13 Thread Seth Falcon
Hello all, I've had the following apropos alternative in my ~/.Rprofile for some time, and have found it more useful than the current version. Basically, my version ignores case when searching. If others find this useful, perhaps apropos could be suitably patched (and I'd be willing to create suc