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