countLines: Counts the number of lines in a text file
Description
Counts the number of lines in a text file by counting the number of occurances of platform-independent
newlines (CR, LF, and CR+LF [1]), including a last line with neither.
An empty file has zero lines.
Usage
## S3 method for class 'default':
countLines(file, chunkSize=5e+07, ...)