Learn R Programming

yamlet (version 0.6.5)

io_table.character: Import Documented Table

Description

Imports a documented table. A wrapper for read.table() that also reads associated yamlet metadata, if present, and applies it as attributes.

Usage

# S3 method for character
io_table(x, ext = getOption("yamlet_extension", ".yaml"), ...)

Arguments

x

character file path; passed to read.table

ext

extension for metadata equivalent of x

...

passed to read.table (if accepted) and to decorate

Value

data.frame

See Also

Other io: io_csv.character(), io_csv.data.frame(), io_csv(), io_res.character(), io_res(), io_table.data.frame(), io_table(), io_yamlet.character(), io_yamlet.data.frame(), io_yamlet.yamlet(), io_yamlet()

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

Examples

Run this code
# NOT RUN {
example(io_table)
# }

Run the code above in your browser using DataLab