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

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 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.


R.filesets

Easy Handling of and Access to Files Organized in Structured Directories

v2.14.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

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