Learn R Programming

bigreadr (version 0.2.5)

nlines: Number of lines

Description

Get the number of lines of a file.

Usage

nlines(file)

Value

The number of lines as one integer.

Arguments

file

Path of the file.

Examples

Run this code
tmp <- fwrite2(iris)
nlines(tmp)

Run the code above in your browser using DataLab