powered by
Exports yamlet. The archetype method for io_yamlet. Similar to write_yamlet but returns (description of) con.
io_yamlet
write_yamlet
con
# S3 method for yamlet io_yamlet( x, con = stdout(), eol = "\n", useBytes = FALSE, default_keys = getOption("yamlet_default_keys", list("label", "guide")), fileEncoding = getOption("encoding"), ... )
invisible description of con: i.e., a file path
yamlet
passed to writeLines
writeLines
end-of-line; passed to writeLines as sep
sep
character: default keys for the first n anonymous members of each element
if con is character, passed to file as encoding
file
encoding
passed to as.character.yamlet
as.character.yamlet
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.character(), io_yamlet.data.frame()
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.character()
io_yamlet.data.frame()
library(csv) file <- system.file(package = 'yamlet', 'extdata','quinidine.csv') x <- decorate(file) out <- file.path(tempdir(), 'out.yamlet') io_yamlet(as_yamlet(x), out) io_yamlet(out)
Run the code above in your browser using DataLab