Learn R Programming

yamlet (version 0.6.5)

to_yamlet.list: Coerce list to yamlet Storage Format

Description

Coerces list to yamlet storage format. Operates recursively on list members.

Usage

# S3 method for list
to_yamlet(x, ...)

Arguments

x

object

...

ignored

Value

length-one character

See Also

Other to_yamlet: to_yamlet.NULL(), to_yamlet.character(), to_yamlet.default(), to_yamlet()

Examples

Run this code
# NOT RUN {
to_yamlet(list())
to_yamlet(list(a = 1, b = 2, c = NULL))
to_yamlet(list(a = 1, b = list(c = 3, d = list(e = 4, f = 'g', 'h'))))
# }

Run the code above in your browser using DataLab