nlines: Number of lines

View source: R/nlines-split.R

nlinesR Documentation

Number of lines

Description

Get the number of lines of a file.

Usage

nlines(file)

Arguments

file

Path of the file.

Value

The number of lines as one integer.

Examples

tmp <- fwrite2(iris)
nlines(tmp)


privefl/bigreadr documentation built on Jan. 12, 2023, 10 a.m.