powered by
write_tableHTML will write the HTML code to a file
write_tableHTML
write_tableHTML(tableHTML, file, complete_html = FALSE)
The function itself returns nothing but a file is created.
A tableHTML object created by the tableHTML function.
A character string. This is the file name. You need to include the extention.
Either TRUE or FALSE. Defaults to FALSE. If TRUE then the <html> and <body> tags are also added in the file.
write_tableHTML will write the HTML code to a file.
if (FALSE) { write_tableHTML(tableHTML(mtcars), file = 'myhtmlcode.html') write_tableHTML(tableHTML(mtcars), file = 'myhtmlcode.html', complete_html = TRUE) }
Run the code above in your browser using DataLab