docx
## S3 method for class 'docx': writeDoc(doc, file, ...)
writeDoc
doc.filename = "writeDoc_example.docx" # set default font size to 10 options( "ReporteRs-fontsize" = 10 ) doc = docx( ) # Write the object writeDoc( doc, file = doc.filename )
Run the code above in your browser using DataCamp Workspace