[R] Indexes on dataframe columns?
Ranjan Bagchi
ranjan.bagchi at frotz.com
Thu Oct 25 15:27:51 CEST 2007
Hi --
I'm working with some data frames with fairly high nrows (call it 8
columns, by 20,000 rows). Are there any indexes on these columns?
When I do a df[df$foo == 42,] [which I think is idiomatic], am I doing a linear
search or something better? If the column contents is ordered, I'd like
to at least be doing a naive binary search.
Thanks!
Ranjan
More information about the R-help
mailing list