Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nlines

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)

bigreadr

Read Large Text Files

v0.2.4
GPL-3
Authors
Florian Privé [aut, cre]
Initial release
2021-04-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.