print.yamlet | R Documentation |
Prints a yamlet object for interactive inspection.
By default, lists with no names (recursively) that
unlist to identical length are displayed in one
line for compactness. If this seems misleading,
you can turn it of with options(yamlet_print_simplify = FALSE)
.
## S3 method for class 'yamlet'
print(x, ..., simplify = getOption("yamlet_print_simplify", TRUE))
x |
yamlet |
... |
ignored |
simplify |
whether to collapse the display of very simple lists into one line of output |
invisible(x)
Other yamlet:
[.yamlet()
,
as.character.yamlet()
,
as_yamlet.character()
,
as_yamlet.data.frame()
,
as_yamlet.list()
,
as_yamlet.yamlet()
,
as_yamlet.yam()
,
as_yamlet()
as_yamlet('mpg: [efficiency, mi/gallon]\nvs: [Engine, [V-shaped: 0, straight: 1]]')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.