Learn R Programming

hyperSpec (version 0.98-20140523)

wc: wc word count of ASCII files

Description

wc uses the system command wc

Usage

wc(file, flags = c("lines", "words", "bytes"))

Arguments

file
the file name or pattern
flags
the parameters to count, character vector with the long form of the parameters

Value

  • data.frame with the counts and file names, or NULL if wc is not available