# NOT RUN {
#START_TAG_TEST
# Create a new document
doc = docx( title = "title" )
doc = addParagraph(doc, "Hello Word!", stylename = "Normal")
# Write the object in file "writeDoc_example.docx"
writeDoc( doc, "writeDoc_example.docx" )
#STOP_TAG_TEST
# }
Run the code above in your browser using DataLab