Please see https://merck.github.io/r2rtf/articles/index.html 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
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.