Skip to content
Prev 26808 / 63424 Next

hash access to data.frame uses prefix? (PR#10474)

If you do want only exact matching, use match().  E.g. in your example

x[match("V41", row.names(x)), ]

will give NA as you expected for a construction documented to do something 
else.
On Wed, 28 Nov 2007, Prof Brian Ripley wrote: