ReporteRs (version 0.8.8)

writeDoc: Write a document object

Description

Write a document object into a file

Usage

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

# NOT RUN {
doc <- docx()
writeDoc( doc, "ex_write_doc.docx")

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