View source: R/guess_delimiter.R
guess_delimiter | R Documentation |
This function will guess the delimiter of a delimited file for a vector of
filenames or filepaths and return the delimiter as a string. It primarily
uses vroom:::guess_delim()
to guess, and defaults to "," if that fails. If
the file is inaccessible or binary, it will return NA
for that element. If
you pass anything that is not a character vector or a single column
data.frame
to the filepaths
argument, this function will give an error.
guess_delimiter(filepaths)
filepaths |
A character vector |
A character vector the same length as filepaths
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.