io_yamlet | R Documentation |
Imports and exports yamlet.
Generic, with a read method io_yamlet.character
for character and a write method io_yamlet.data.frame
for data.frame. See also io_yamlet.yamlet
.
io_yamlet(x, ...)
x |
object |
... |
passed arguments |
see methods
Other io:
io_csv()
,
io_csv.character()
,
io_csv.data.frame()
,
io_res()
,
io_res.character()
,
io_res.decorated()
,
io_table()
,
io_table.character()
,
io_table.data.frame()
,
io_yamlet.character()
,
io_yamlet.data.frame()
,
io_yamlet.yamlet()
file <- system.file(package = 'yamlet', 'extdata','quinidine.yaml')
x <- io_yamlet(file)
tmp <- tempdir()
out <- file.path(tmp, 'tmp.yaml')
# we can losslessly 'round-trip' x using to generic calls
identical(x, io_yamlet(io_yamlet(x, out)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.