Skip to content
Prev 274769 / 398506 Next

How to read data sequentially into R (line by line)?

Thanks Jim for your help. I tried this code using readLines and it
works but not in way I wanted. It seems that this code is trying to
separate all records from a text file so that I'm getting over 14 000
000 text files. My intention is to get only 15 text files all expect
one containing 1 000 000 rows so that the record which is on the
breakpoint (near at 1 000 000 line) does not cut from the "middle"...

-J

2011/10/18 jim holtman <jholtman at gmail.com>: