bnrow | R Documentation |
Counts the number of rows using data.table::fread() and the 'wc' Unix command. This allows analyzing big files that would not fit in memory (and cause an error such as 'cannot allocate vector of size').
bnrow(file = NULL)
file |
String. Name or full path to a file compatible with data.table::fread() |
A numeric
file <- system.file('extdata', 'test.csv', package = 'bread')
## Counting rows (almost like the band)
bnrow(file = file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.