writeDoc: Write a document object

Description Usage Arguments See Also Examples

View source: R/writeDoc.R

Description

Write a document object into a file

Usage

1
2
3
4
5
6
7
writeDoc(doc, ...)

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

## S3 method for class '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

1
2
3
4
5
6
doc <- docx()
writeDoc( doc, "ex_write_doc.docx")

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

ReporteRs documentation built on April 1, 2018, 12:06 p.m.