nelem: Size of line

Description Usage Arguments Value Examples

Description

Number of elements of each line of a file.

Usage

1

Arguments

file

Path to file.

Value

The number of elements of each line of a file.

Examples

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

privefl/mmapcharr documentation built on May 30, 2019, 2:28 p.m.