print.rtf {officer} | R Documentation |
Write an 'RTF' document to a file
Description
Write the RTF object and its content to a file.
Usage
## S3 method for class 'rtf'
print(x, target = NULL, ...)
Arguments
x |
an 'rtf' object created with |
target |
path to the RTF file to write |
... |
unused |
See Also
Examples
# write a rdocx object in a rtf file ----
doc <- rtf_doc()
print(doc, target = tempfile(fileext = ".rtf"))
[Package officer version 0.6.6 Index]