Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


ReporteRs (version 0.8.7)

writeDoc: Write a document object

Description

Write a document object into a file

Usage

writeDoc(doc, ...)
"writeDoc"(doc, file, ...)
"writeDoc"(doc, file, ...)
"writeDoc"(doc, file, ...)

Arguments

doc
document object
...
unused
file
single character value, name of the html file to write.

See Also

docx, pptx

Examples

Run this code
doc <- docx()
writeDoc( doc, "ex_write_doc.docx")

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

Run the code above in your browser using DataLab