write_htmlTable | R Documentation |
htmlTable
to fileWrite an htmlTable
object to a file with optional
html attributes.
write_htmlTable(x, file = "", attributes = TRUE)
x |
a string, e.g., the return of |
file |
a character string naming the file to print to; |
attributes |
logical; if |
x <- htmlTable::htmlTable(head(cars))
write_htmlTable(x)
write_htmlTable(x, attributes = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.