write_tableHTML: Writes the HTML code to a file

View source: R/write_tableHTML.R

write_tableHTMLR 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)


tableHTML documentation built on April 18, 2023, 1:11 a.m.