dim_file: File dimensions

Description Usage Arguments Value Examples

View source: R/file-dim.R

Description

Number of lines and columns of file (and extra 'return' characters).

Usage

1

Arguments

file

Path to file.

Value

The number of lines and columns of file (and extra 'return' characters).

Examples

1
2
3
tmpfile <- tempfile()
write(0:9, tmpfile, ncolumns = 2)
dim_file(tmpfile)

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