print.yamlet {yamlet} | R Documentation |
Print a Yamlet
Description
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)
.
Usage
## S3 method for class 'yamlet'
print(x, ..., simplify = getOption("yamlet_print_simplify", TRUE))
Arguments
x |
yamlet |
... |
ignored |
simplify |
whether to collapse the display of very simple lists into one line of output |
Value
invisible(x)
See Also
Other yamlet:
[.yamlet()
,
as.character.yamlet()
,
as_yamlet()
,
as_yamlet.character()
,
as_yamlet.data.frame()
,
as_yamlet.list()
,
as_yamlet.yam()
,
as_yamlet.yamlet()
Examples
as_yamlet('mpg: [efficiency, mi/gallon]\nvs: [Engine, [V-shaped: 0, straight: 1]]')
[Package yamlet version 1.2.0 Index]