Skip to content
Prev 278219 / 398506 Next

Data Frame Search Slow

Answer to my own question:

ush <- data.table(read.csv(...))
setkey(ush, product_id)
s1 <- ush[J[product.id]]
It seems like that's the method to use!  Amazing.

--
View this message in context: http://r.789695.n4.nabble.com/Data-Frame-Search-Slow-tp4096906p4097576.html
Sent from the R help mailing list archive at Nabble.com.