Save a flextable as a png or svg image. This function uses R graphic system to create an image from the flextable, allowing for high-quality image output. See gen_grob()
for more options.
save_as_image(x, path, expand = 10, res = 200, ...)
Arguments
a flextable object
image file to be created. It should end with '.png' or '.svg'.
space in pixels to add around the table.
The resolution of the device
unused arguments
a string containing the full name of the generated file
captionIt's important to note that captions are not part of the table itself. This means when exporting a table to PNG or SVG formats (image formats), the caption won't be included. Captions are intended for document outputs like Word, HTML, or PDF, where tables are embedded within the document itself.
See alsoOther flextable print function: df_printer()
, flextable_to_rmd()
, gen_grob()
, htmltools_value()
, knit_print.flextable()
, plot.flextable()
, print.flextable()
, save_as_docx()
, save_as_html()
, save_as_pptx()
, save_as_rtf()
, to_html.flextable()
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4