print_all | R Documentation |
knitrContainer
Function is designed to be used in a knitr
/rmarkdown
file
which generates HTML
output.
The function takes every element (i.e., object) of a
knitrContainer
, prints it appropriately:
either as text (using cat
),
as htmlwidget (using cat
) or object as-is using
print
. Then attaches HTML
dependencies for
htmlwidgets
to show them correctly.
print_all(container, env = parent.frame(), widget_as_html = "auto", ...)
extract_and_print(container, env = parent.frame(), ...)
print_objects(container, env = parent.frame(), ...)
container |
|
env |
Environment in which evaluation of expressions an assignments
(objects added with |
widget_as_html |
(TURE, FALSE, "auto") Should htmlwidget be printed as
an HTML code or as an object (default is |
... |
not used. |
Functions print_objects()
and extract_and_print()
are deprecated.
Vilmantas Gegzna
Other knitrContainer
functions:
Join()
,
add_as_heading()
,
add_as_
,
as.knitrContainer()
,
knitrContainer-class
,
print()
,
summary()
# Find examples in link `knitrContainer-class`
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.