Learn R Programming

yamlet (version 1.2.1)

io_table.data.frame: Export Documented Table

Description

Exports a data.frame and a yamlet version of its decorations. A wrapper for write.table.

Usage

# S3 method for data.frame
io_table(
  x,
  file = "",
  ext = getOption("yamlet_extension", ".yaml"),
  meta = stdout(),
  useBytes = FALSE,
  default_keys = getOption("yamlet_default_keys", list("label", "guide")),
  ...
)

Value

invisible(file)

Arguments

x

data.frame

file

passed to write.table

ext

= extension for metadata equivalent of x

meta

passed as con to io_yamlet

useBytes

passed to io_yamlet

default_keys

passed to io_yamlet

...

passed to write.table (if accepted) and to io_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_yamlet(), io_yamlet.character(), io_yamlet.data.frame(), io_yamlet.yamlet()

Other interface: canonical.decorated(), classified.data.frame(), decorate.character(), decorate.data.frame(), desolve.decorated(), enscript.default(), ggplot.decorated(), io_csv.character(), io_csv.data.frame(), io_res.character(), io_res.decorated(), io_table.character(), io_yamlet.character(), io_yamlet.data.frame(), is_parseable.default(), mimic.default(), modify.default(), promote.list(), read_yamlet(), resolve.decorated(), selected.default(), write_yamlet()

Examples

Run this code
example(io_table)

Run the code above in your browser using DataLab