| as.csv.character | R Documentation |
Treat a character string as a CSV filename.
## S3 method for class 'character'
as.csv(
x,
as.is = TRUE,
na.strings = c("", "\\s", ".", "NA"),
strip.white = TRUE,
check.names = FALSE,
source = getOption("csv_source", TRUE),
...
)
x |
character file path |
as.is |
passed to |
na.strings |
passed to |
strip.white |
passed to |
check.names |
passed to |
source |
whether to assign x as the source attribute of the return value |
... |
passed to |
If x is character, is length one, and is a path to a file, an attempt is made to read the file.
data.frame, with attribute 'source' set to x
Other as.csv:
as.csv.data.frame(),
as.csv()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.