Description Usage Arguments Examples
Return number of columns in file
1 | nfields(con, sep = "\t")
|
con |
File or connection for which columns should be counted |
sep |
Separator used to separate columns in |
1 2 3 4 | ## Not run:
nfields("data.csv", sep = ",")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.