to_yamlet.list | R Documentation |
Coerces list to yamlet storage format. Operates recursively on list members.
## S3 method for class 'list'
to_yamlet(x, ..., bracket_all = FALSE)
x |
object |
... |
ignored |
bracket_all |
FALSE at top level, but TRUE recursively downward; supports 'ITEM: definition' which would otherwise be bracketted |
length-one character
Other to_yamlet:
to_yamlet()
,
to_yamlet.NULL()
,
to_yamlet.character()
,
to_yamlet.default()
,
to_yamlet.numeric()
,
to_yamlet.yamlet()
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'))))
to_yamlet(setNames(1:3, c('a','b',NA)))
to_yamlet(setNames(c(1,2,NA), c('a','b','c')))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.