| rc_auto | R Documentation |
Attempts to read a CSV file using several strategies, trying to
infer whether the delimiter is a comma or a semicolon. It first
tries readr::read_csv(), optionally falls back to
readr::read_csv2() when a semicolon is detected or the first
attempt fails, and finally tries base utils::read.csv() as a
last resort.
rc_auto(fp)
fp |
Character scalar; path to the CSV file. |
A data frame if a valid non-empty table could be read, or
NULL if all attempts fail.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.