Imports yamlet.
Character method for io_yamlet.
Similar to read_yamlet, but only reads files.
Arguments
- x
file path for yamlet
- default_keys
character: default keys for the first n anonymous members of each element
- ...
passed to
as_yamlet
See also
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(),
io_yamlet.data.frame(),
io_yamlet.yamlet()
Other interface:
canonical.decorated(),
classified.data.frame(),
decorate.character(),
decorate.data.frame(),
desolve.decorated(),
enscript.decorated(),
ggplot.decorated(),
io_csv.character(),
io_csv.data.frame(),
io_res.character(),
io_res.decorated(),
io_table.character(),
io_table.data.frame(),
io_yamlet.data.frame(),
is_parseable.default(),
mimic.default(),
modify.default(),
promote.list(),
read_yamlet(),
resolve.decorated(),
selected.default(),
write_yamlet()
Examples
example(io_yamlet)
#>
#> i_ymlt> file <- system.file(package = 'yamlet', 'extdata','quinidine.yaml')
#>
#> i_ymlt> x <- io_yamlet(file)
#>
#> i_ymlt> tmp <- tempdir()
#>
#> i_ymlt> out <- file.path(tmp, 'tmp.yaml')
#>
#> i_ymlt> # we can losslessly 'round-trip' x using to generic calls
#> i_ymlt> identical(x, io_yamlet(io_yamlet(x, out)))
#> [1] TRUE