count_fields | R Documentation |
This is useful for diagnosing problems with functions that fail to parse correctly.
count_fields(file, tokenizer, skip = 0, n_max = -1L)
file |
Either a path to a file, a connection, or literal data (either a single string or a raw vector). Files ending in Literal data is most useful for examples and tests. To be recognised as
literal data, the input must be either wrapped with Using a value of |
tokenizer |
A tokenizer that specifies how to break the |
skip |
Number of lines to skip before reading data. |
n_max |
Optionally, maximum number of rows to count fields for. |
count_fields(readr_example("mtcars.csv"), tokenizer_csv())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.