| nlines {parser} | R Documentation |
Counts the number of lines in a file
nlines(file)
file |
The file path. This is not using connections, so this expects a character string giving the name of the file |
The number of lines of the file
Romain Francois <francoisromain@free.fr>
## Not run: f <- system.file( "grammar.output", package = "parser" ) nlines( f ) length( readLines( f ) ) ## End(Not run)