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 Feb. 19, 2018, 4:06 a.m.