to_yamlet.yamlet | R Documentation |
Coerces yamlet to yamlet storage format by unclassing to list.
## S3 method for class 'yamlet'
to_yamlet(x, ...)
x |
object |
... |
ignored |
length-one character
Other to_yamlet:
to_yamlet.NULL()
,
to_yamlet.character()
,
to_yamlet.default()
,
to_yamlet.list()
,
to_yamlet.numeric()
,
to_yamlet()
library(magrittr)
'a: [[d: [-1, 0, 1, 2]]]' %>% as_yamlet %>% to_yamlet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.