nelem: Size of line

Description Usage Arguments Value Examples

View source: R/file-dim.R

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 Aug. 18, 2018, 12:19 p.m.