Get the RTF content from a gt_tbl
object as as a single-element character
vector. This object can be used with writeLines()
to generate a valid .rtf
file that can be opened by RTF readers.
Arguments
- data
A table object that is created using the
gt()
function.
Examples
Use gtcars
to create a gt table. Add a header and then export as RTF
code.
See also
Other table export functions:
as_latex()
,
as_raw_html()
,
as_word()
,
extract_cells()
,
extract_summary()
,
gtsave()