R: Counts the number of data rows

nbrOfRows.TabularTextFile {R.filesets} | R 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`.

[Package R.filesets version 2.11.0 Index]