Examples for 'readr::count_fields'


Count the number of fields in each line of a file

Aliases: count_fields

Keywords:

### ** Examples

count_fields(readr_example("mtcars.csv"), tokenizer_csv())
 [1] 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11
[26] 11 11 11 11 11 11 11 11

[Package readr version 2.1.2 Index]