line_count: Count lines (fast, like 'wc' because it _is_ 'wc')

Description Usage Arguments References Examples

View source: R/RcppExports.R

Description

This is just the line count portion of the wc source code ripped out and put into a C-backed R function.

Usage

1

Arguments

f

full path to file

References

GNU wc source code

Examples

1
line_count(system.file("extdata", "lines.csv", package = "hrbrmiscpp"))

hrbrmstr/hrbrmiscpp documentation built on May 17, 2019, 5:08 p.m.