Count Lines (of an ASCII File)

count_lines(file, chunksize = 10000)

Arguments

file

the file name or connection

chunksize

file is read in chunks of chunksize lines.

Value

number of lines in file

Author

C. Beleites