io_csv.data.frame | R Documentation |
Exports a data.frame as comma-separated variable,
as well as a yamlet version of its decorations.
A wrapper for as.csv.data.frame
.
## S3 method for class 'data.frame'
io_csv(
x,
file = "",
ext = getOption("yamlet_extension", ".yaml"),
meta = stdout(),
gz = NULL,
useBytes = FALSE,
default_keys = getOption("yamlet_default_keys", list("label", "guide")),
...
)
x |
data.frame |
file |
passed to |
ext |
= extension for metadata equivalent of x |
meta |
passed as |
gz |
logical; guessed by default from |
useBytes |
passed to |
default_keys |
passed to |
... |
passed to |
You should be able to supply exactly the connections you want for
file
(the data file) and meta
(the metadata file)
if gz
is FALSE. If gz
is NULL, it will be
guessed from file (TRUE for character ending with '.gz' or '.GZ').
If TRUE, character file
will have '.gz' extension enforced,
but any '.gz' ('.GZ') will be stripped when calculating meta
.
invisible(file)
Other io:
io_csv.character()
,
io_csv()
,
io_res.character()
,
io_res.decorated()
,
io_res()
,
io_table.character()
,
io_table.data.frame()
,
io_table()
,
io_yamlet.character()
,
io_yamlet.data.frame()
,
io_yamlet.yamlet()
,
io_yamlet()
Other interface:
canonical.decorated()
,
classified.data.frame()
,
decorate.character()
,
decorate.data.frame()
,
desolve.decorated()
,
ggplot.decorated()
,
io_csv.character()
,
io_res.character()
,
io_res.decorated()
,
io_table.character()
,
io_table.data.frame()
,
io_yamlet.character()
,
io_yamlet.data.frame()
,
is_parseable.default()
,
mimic.default()
,
modify.default()
,
promote.list()
,
read_yamlet()
,
resolve.decorated()
,
selected.default()
,
write_yamlet()
example(io_csv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.