print.rtf {officer} | R Documentation |
Write the RTF object and its content to a file.
## S3 method for class 'rtf'
print(x, target = NULL, ...)
x |
an 'rtf' object created with |
target |
path to the RTF file to write |
... |
unused |
# write a rdocx object in a rtf file ----
doc <- rtf_doc()
print(doc, target = tempfile(fileext = ".rtf"))