nline: Number of lines

Description Usage Arguments Value Examples

View source: R/file-dim.R

Description

Number of lines of a file.

Usage

1

Arguments

file

Path to file.

Value

The number of lines of the file.

Examples

1
2
3
tmpfile <- tempfile()
write(1:5, tmpfile, ncolumns = 1)
nline(tmpfile)

privefl/mmapcharr documentation built on April 6, 2018, 9:14 a.m.