flextable (version 0.5.7)

save_as_html: save a flextable in an HTML file

Description

save a flextable in an HTML file. This function is useful to save the flextable in HTML file without using R Markdown (it is highly recommanded to use R Markdown instead).

Usage

save_as_html(x, path)

Arguments

x

a flextable object

path

HTML file to be created

See Also

Other flextable print function: as_raster(), docx_value(), format.flextable(), htmltools_value(), knit_print.flextable(), plot.flextable(), print.flextable(), save_as_docx(), save_as_image(), save_as_pptx()

Examples

Run this code
# NOT RUN {
ft <- flextable( head( mtcars ) )
tf <- tempfile(fileext = ".html")
save_as_html(ft, tf)
# }

Run the code above in your browser using DataLab