nbrOfLines.TabularTextFile: Counts the number of lines in the data file

nbrOfLines.TabularTextFileR Documentation

Counts the number of lines in the data file

Description

Counts the number of lines in the data file. The count include header rows, comments and more.

Usage

## S3 method for class 'TabularTextFile'
nbrOfLines(this, fast=FALSE, ...)

Arguments

fast

If TRUE, NA is returned for large data files (>1Mb), unless the number of lines has already been counted.

...

Optional arguments passed to countLines.

Value

Returns a character vector.

Author(s)

Henrik Bengtsson

See Also

To count the number of data rows is the data table, use *nbrOfRows(). Internally, countLines is used. For more information see TabularTextFile.


R.filesets documentation built on July 21, 2022, 5:11 p.m.