Learn R Programming

yamlet (version 0.6.5)

to_yamlet.default: Coerce Default to Yamlet Storage Format

Description

Coerces to yamlet storage format by default conversion to character.

Usage

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

Arguments

x

object

...

ignored

Value

length-one character

See Also

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

Examples

Run this code
# NOT RUN {
to_yamlet(3)
to_yamlet(c(a = '4',b = '5.8'))
to_yamlet(c(a = 4,b = 5.8))
to_yamlet(TRUE)
# }

Run the code above in your browser using DataLab