Skip to content
Prev 174966 / 398506 Next

How to separate huge dataset into chunks

Hello Thomas,

Thanks for your help!

Sadly your code does not work for the last chunk, because its length is 
shorter than nrows.

I tried

try(chunk<-read.table(conn, nrows=10000,col.names=nms), silent=TRUE)

but it gives me an error (go figure!)

Best,
Guillaume



Quoting Thomas Lumley <tlumley at u.washington.edu>: