« first day (1645 days earlier)      last day (1639 days later) » 

6:09 AM
morning all
 
@Tensibai If the answer needs to provide and explain the (mathematical) algorithm, the question is not specific to programming and the implementation part is the easy part for this question. Thus, off-topic for SO and I believe "too broad" is to be used to signal this.
 
6:40 AM
Hello
 
7:35 AM
@Roland Fair point
 
 
1 hour later…
8:43 AM
 
 
1 hour later…
9:46 AM
The other day I was commenting on how Python can iterate through files. Turns out there's something similar for R, too. cran.r-project.org/web/packages/LaF/index.html
 
cool
1
A: reading a text file in R line by line

xiaodaiI suggest you check out chunked and disk.frame. They both have functions for reading in CSVs chunk-by-chunk. In particular, disk.frame::csv_to_disk.frame may be the function you are after?

(made me thought about searching R read file line by line)
dvd answer with readLines(pointer, n=1) sounds good too
 

« first day (1645 days earlier)      last day (1639 days later) »