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