print_html | R Documentation |
These functions print or return an HTML table.
print_html(ht, ...)
to_html(ht, ...)
print_notebook(ht, ...)
## S3 method for class 'huxtable'
to_html(ht, ...)
ht |
A huxtable. |
... |
Arguments to pass to methods. Not currently used. |
to_html
returns an HTML string. print_html
prints the string and returns NULL
.
print_notebook
prints HTML output suitable for use in an
RStudio interactive notebook.
Other printing functions:
print_latex()
,
print_md()
,
print_rtf()
,
print_screen()
ht <- hux(a = 1:3, b = letters[1:3])
to_html(ht)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.