'attr' in '[.data.frame' takes too much CPU time
chunk(x, i)
x
Index data.frame
i
Rows to subset
x[i,]