Writes the RTF document to a specified file.

write_rtf(doc, file = NULL)

## Arguments

doc The RTF document to be written. A character string naming a file open for writing.

## Value

File is written to the file provided by sinking the console output. No output is returned to the R environment.

## Create and write RTF document