as_yamlet | R Documentation |
Coerces something to yamlet format. If the object
or user specifies default keys, these are applied.
See as_yamlet.character
.
as_yamlet(x, ...)
x |
object |
... |
passed arguments |
a named list
Other yamlet:
[.yamlet()
,
as.character.yamlet()
,
as_yamlet.character()
,
as_yamlet.data.frame()
,
as_yamlet.list()
,
as_yamlet.yamlet()
,
as_yamlet.yam()
,
print.yamlet()
file <- system.file(package = 'yamlet', 'extdata','quinidine.yaml')
file
identical(as_yamlet(as_yam(file)), as_yamlet(file))
# Read yamlet from storage and apply default keys.
as_yamlet(file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.