An Introduction to the r2rtf Package

Please see for the full documentation. Here is only a minimal example:

head(tbl) %>%
  rtf_body() %>%                     # Step 1 Add table  attributes 
  rtf_encode() %>%                   # Step 2 Convert attributes to RTF encode 
  write_rtf("rtf/intro-ae1.rtf")     # Step 3 Write to a .rtf file

Try the r2rtf package in your browser

Any scripts or data that you put into this service are public.

r2rtf documentation built on June 1, 2021, 9:07 a.m.