html_notebook_output | R Documentation |
Utilities for generating output for the html_notebook
format,
through the output_source
function attached to a
output_format
.
html_notebook_output_html(html, meta = NULL)
html_notebook_output_img(
path = NULL,
bytes = NULL,
attributes = NULL,
meta = NULL,
format = c("png", "jpeg")
)
html_notebook_output_png(
path = NULL,
bytes = NULL,
attributes = NULL,
meta = NULL,
format = c("png", "jpeg")
)
html_notebook_output_code(code, attributes = list(class = "r"), meta = NULL)
html |
Arbitrary HTML content to insert. |
meta |
An R list of arbitrary meta-data. The data will be converted to JSON, base64-encoded, and injected into the header comment. |
path |
A path to a file. For functions accepting both |
bytes |
The bytewise representation of content. |
attributes |
A named R list of HTML attributes. These will be escaped and inserted into the generated HTML as appropriate. |
format |
The image format; one of |
code |
Source code. |
See the online
documentation for additional details on using the html_notebook
format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.