Description Usage Arguments Value Author(s) See Also Examples
Counts the number of characters and bytes in each line of a file
This follows the same rules as the parser to count the number of characters and the number of bytes in each line of a file
1 | count.chars(file, encoding = "unknown")
|
file |
file path |
encoding |
encoding to assume for the file |
A matrix with 2 columns and one line per line in the input file Each line of the matrix gives :
|
the number of characters in the same line in the file |
|
the number of bytes in the same line in the file |
Romain Francois <romain@r-enthusiasts.com>
1 2 3 4 5 | ## Not run:
f <- system.file( "grammar.output", package= "parser" )
head( count.chars( f ) )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.