nbrOfRows.TabularTextFile: Counts the number of data rows

nbrOfRows.TabularTextFileR Documentation

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 class 'TabularTextFile'
nbrOfRows(this, fast=FALSE, ...)

Arguments

fast

Argument passed to *nbrOfLines().

...

Optional arguments passed to *getHeader().

Value

Returns a character vector.

Author(s)

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.


HenrikBengtsson/R.filesets documentation built on Jan. 31, 2024, 8:11 a.m.