Skip to content
Prev 59331 / 398502 Next

hashing using named lists

On Thu, 18 Nov 2004, Huntsinger, Reid wrote:

            
the behaviour being partial matching?
That is the [[ ]] code.  The $ code is at about line 968.

And if you did that a lot of R code may break, so please don't even think 
about it.  Partial matching is a long-standing feature.

There have been proposals from time to time for [ ] and [[ ]] to have an 
exact=TRUE argument for character indices.  That seems a good idea, except 
that they are generic and there are now many methods out there which would 
ignore the argument.