Re: [Rd] RFC: adding an 'exact' argument to [[

2007-05-22 Thread Gabor Grothendieck
In addition to $ that was mentioned in this thread there is also attr, e.g. names(attributes(CO2)) [1] names row.names class formula outer labels [7] units attr(CO2, f) # matches formula uptake ~ conc | Plant On 5/17/07, Seth Falcon [EMAIL PROTECTED] wrote: Hi all, One of the

Re: [Rd] RFC: adding an 'exact' argument to [[

2007-05-22 Thread Seth Falcon
Hi again, Robert has committed the proposed patch to R-devel. So [[ now has an 'exact' argument and the behavior is as described: Seth Falcon [EMAIL PROTECTED] writes: 1. [[ gains an 'exact' argument with default value NA 2. Behavior of 'exact' argument: exact=NA

Re: [Rd] RFC: adding an 'exact' argument to [[

2007-05-18 Thread Prof Brian Ripley
On Thu, 17 May 2007, Duncan Murdoch wrote: On 5/17/2007 3:54 PM, Prof Brian Ripley wrote: There is a similar issue with argument partial matching. Since we have the source of R one can pretty easily build a version of R which does not have the feature: I have been doing that in

Re: [Rd] RFC: adding an 'exact' argument to [[

2007-05-17 Thread Seth Falcon
Bill Dunlap [EMAIL PROTECTED] writes: This sounds interesting. Do you intend to leave the $ operator alone, so it will continue to do partial matching? I suspect that that is where the majority of partial matching for list names is done. The current proposal will not touch $. I agree that

Re: [Rd] RFC: adding an 'exact' argument to [[

2007-05-17 Thread Prof Brian Ripley
On Thu, 17 May 2007, Seth Falcon wrote: Bill Dunlap [EMAIL PROTECTED] writes: This sounds interesting. Do you intend to leave the $ operator alone, so it will continue to do partial matching? I suspect that that is where the majority of partial matching for list names is done. The

Re: [Rd] RFC: adding an 'exact' argument to [[

2007-05-17 Thread Duncan Murdoch
On 5/17/2007 3:54 PM, Prof Brian Ripley wrote: On Thu, 17 May 2007, Seth Falcon wrote: Bill Dunlap [EMAIL PROTECTED] writes: This sounds interesting. Do you intend to leave the $ operator alone, so it will continue to do partial matching? I suspect that that is where the majority of