powered by
bufferLines(fh, batchSize, lineProcessor)
## Not run: # fh = file("filename") # bufferLines(fh,100,function(lines) { # message("found ",length(lines)," lines") # }) # ## End(Not run)
Run the code above in your browser using DataLab