write_tableHTML {tableHTML} | R Documentation |
Writes the HTML code to a file
Description
write_tableHTML
will write the HTML code to a file
Usage
write_tableHTML(tableHTML, file, complete_html = FALSE)
Arguments
tableHTML |
A tableHTML object created by the tableHTML function. |
file |
A character string. This is the file name. You need to include the extention. |
complete_html |
Either TRUE or FALSE. Defaults to FALSE. If TRUE then the <html> and <body> tags are also added in the file. |
Details
write_tableHTML
will write the HTML code to a file.
Value
The function itself returns nothing but a file is created.
Examples
## Not run:
write_tableHTML(tableHTML(mtcars), file = 'myhtmlcode.html')
write_tableHTML(tableHTML(mtcars), file = 'myhtmlcode.html', complete_html = TRUE)
## End(Not run)
[Package tableHTML version 2.1.2 Index]