nelem {mmapcharr}R Documentation

Size of line

Description

Number of elements of each line of a file.

Usage

nelem(file)

Arguments

file

Path to file.

Value

The number of elements of each line of a file.

Examples

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

[Package mmapcharr version 0.3.0 Index]