Write a document object into a file
writeDoc(doc, ...)# S3 method for docx
writeDoc(doc, file, ...)
# S3 method for pptx
writeDoc(doc, file, ...)
document object
unused
single character value, name of the html file to write.
# NOT RUN { doc <- docx() writeDoc( doc, "ex_write_doc.docx") doc <- pptx() doc <- addSlide(doc, "Title and Content") writeDoc( doc, "ex_write_doc.pptx") # }