Learn R Programming

R.filesets (version 2.15.1)

nbrOfRows.TabularTextFile: Counts the number of data rows

Description

Counts the number of data rows. The count does not include the header rows or comments.

Usage

# S3 method for TabularTextFile
nbrOfRows(this, fast=FALSE, ...)

Value

Returns a character

vector.

Arguments

fast

Argument passed to *nbrOfLines().

...

Optional arguments passed to *getHeader().

Author

Henrik Bengtsson

See Also

The number of data rows is always less or equal to the number of lines as returned by *nbrOfLines(). Internally, countLines is used. For more information see TabularTextFile.