Write a document object into a file

writeDoc(doc, ...)

# S3 method for docx
writeDoc(doc, file, ...)

# S3 method for pptx
writeDoc(doc, file, ...)

Arguments

doc

document object

...

unused

file

single character value, name of the html file to write.

See also

docx, pptx

Examples

doc <- docx() writeDoc( doc, "ex_write_doc.docx") doc <- pptx() doc <- addSlide(doc, "Title and Content") writeDoc( doc, "ex_write_doc.pptx")