powered by
Number of lines of a file.
nline(file)
The number of lines of the file.
Path to file.
tmpfile <- tempfile() write(1:5, tmpfile, ncolumns = 1) nline(tmpfile)
Run the code above in your browser using DataLab