powered by
return the number of lines found in a file. Operation is counting the number of new line symbols in the file.
peek_count_lines(path, with_eof = FALSE)
number of lines as an integer
file path
count the end of file as a new line.
f <- system.file(package = "fpeek", "datafiles", "test-tab.csv") peek_count_lines(f)
Run the code above in your browser using DataLab