Description Usage Arguments Details Value Examples
See title.
1 2 3 4 5 |
file |
Location of the file (as a string) from which the counts will be generated. |
chars, words, lines |
Should char/word/line counts be shown? At least one of the three must be
|
wc_l()
is a shorthand for counting only lines, similar to wc -l
in the terminal. Likewise wc_w()
is analogous to wc -w
for
words.
A list containing the requested counts.
1 2 3 | library(filesampler)
file = system.file("rawdata/small.csv", package="filesampler")
data = wc(file=file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.