fwrite_header | R Documentation |
writes a data frame with a header
fwrite_header(
data,
file,
header,
sep = ",",
col_names = FALSE,
append = FALSE,
scipen = 20,
...
)
data |
data frame |
file |
output file name |
header |
string with the header |
sep |
The separator between columns. Default is |
col_names |
write column names |
append |
append to an existing file |
scipen |
|
... |
Arguments passed on to |
## Not run:
fwrite_header(mtcars, file = tempfile(), header = "# this is a header", sep = "\\t")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.