knit_print.flextable: Render flextable in rmarkdown (including Word output)

Description Usage Arguments Note Author(s)

View source: R/knit_print_flextable.R

Description

Function used to render flextable in knitr/rmarkdown documents. HTML and Word outputs are supported.

Function htmltools_value return an HTML version of the flextable, this function is to be used within Shiny applications with renderUI().

Usage

1
2
3
4
htmltools_value(x)

## S3 method for class 'flextable'
knit_print(x, ...)

Arguments

x

a flextable object

...

further arguments, not used.

Note

For Word (docx) output, if pandoc version >= 2.0 is used, a raw XML block with the table code will be inserted. If pandoc version < 2.0 is used, an error will be raised. Note also that insertion of images is not supported with rmarkdow for Word documents.

Author(s)

Maxim Nazarov


ELICHOS/dataviz documentation built on June 26, 2021, 8:47 a.m.