Learn R Programming

flextable (version 0.6.3)

htmltools_value: flextable as an HTML object

Description

get a div() from a flextable object. This can be used in a shiny application. For an output within "R Markdown" document, use knit_print.flextable.

Usage

htmltools_value(x, ft.align = "center")

Arguments

x

a flextable object

ft.align

flextable alignment, supported values are 'left', 'center' and 'right'.

Value

an object marked as HTML ready to be used within a call to shiny::renderUI for example.

See Also

Other flextable print function: as_raster(), flextable_to_rmd(), knit_print.flextable(), plot.flextable(), print.flextable(), save_as_docx(), save_as_html(), save_as_image(), save_as_pptx()

Examples

Run this code
# NOT RUN {
htmltools_value(flextable(iris[1:5,]))
# }

Run the code above in your browser using DataLab