Output a gt object as RTF
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.
as_rtf(data)
| data | a table object that is created using the  | 
13-4
Other Export Functions: 
as_latex(),
as_raw_html(),
extract_summary(),
gtsave()
# Use `gtcars` to create a gt table;
# add a header and then export as
# RTF code
tab_rtf <-
  gtcars %>%
  dplyr::select(mfr, model) %>%
  dplyr::slice(1:2) %>%
  gt() %>%
  tab_header(
    title = md("Data listing from **gtcars**"),
    subtitle = md("`gtcars` is an R dataset")
  ) %>%
  as_rtf()Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.