## Not run: 
# 
# library(rmarkdown)
# 
# # simple invocation
# render("input.Rmd", rtf_document())
# 
# # specify table of contents option
# render("input.Rmd", rtf_document(toc = TRUE))
# ## End(Not run)
Run the code above in your browser using DataLab