Manipulation of Microsoft Word and PowerPoint Documents

Access and manipulate 'Microsoft Word' and 'Microsoft PowerPoint' documents from R. The package focuses on tabular and graphical reporting from R; it also provides two functions that let users get document content into data objects. A set of functions lets add and remove images, tables and paragraphs of text in new or existing documents. When working with 'PowerPoint' presentations, slides can be added or removed; shapes inside slides can also be added or removed. When working with 'Word' documents, a cursor can be used to help insert or delete content at a specific location in the document. The package does not require any installation of Microsoft products to be able to write Microsoft files.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.1 by David Gohel, 10 days ago

Report a bug at

Browse source code at

Authors: David Gohel [aut, cre], Frank Hangler [ctb] (function body_replace_all_text), Liz Sander [ctb] (several documentation fixes), Jon Calder [ctb] (update vignettes)

Documentation:   PDF Manual  

GPL-3 license

Imports Rcpp, R6, R.utils, grDevices, base64enc, zip, digest, uuid, utils, magrittr, htmltools, xml2

Suggests testthat, devEMF, knitr, tibble, ggplot2, rmarkdown

Linking to Rcpp

Imported by WordR, flextable, mschart, rvg.

Suggested by huxtable, jtools.

See at CRAN