
Imports and exports yamlet.
Generic, with a read method read_yaml
for character and a write method write_yaml
for data.frame.
io_yamlet(x, ...)
object
passed arguments
see methods
Other io:
io_csv.character()
,
io_csv.data.frame()
,
io_csv()
,
io_res.character()
,
io_res()
,
io_table.character()
,
io_table.data.frame()
,
io_table()
,
io_yamlet.character()
,
io_yamlet.data.frame()
,
io_yamlet.yamlet()
# NOT RUN {
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)))
# }
Run the code above in your browser using DataLab