flextable (version 0.5.5)

save_as_html: save a flextable in an HTML file

Description

save a flextable in an HTML file. This function has been implemented to help users that do not understand 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_image

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 DataCamp Workspace