Saving

R

You can save your files with the gtsave() function.

gtsave(gt_tbl_9, filename="my_table.docx")
gtsave(gt_tbl_9, filename="my_table.pdf")
gtsave(gt_tbl_9, filename="my_table.rtf")

Here’s what the Microsoft Word output looks like.

Python

In Python, the function is gt.save():

gt.save(gt_tbl9, file="my_table.docx")