officer: 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.

Version: 0.2.1
Imports: Rcpp (≥ 0.12.12), R6, R.utils, grDevices, base64enc, zip, digest, uuid, utils, magrittr, htmltools, xml2 (≥ 1.1.0)
LinkingTo: Rcpp
Suggests: testthat, devEMF, knitr, tibble, ggplot2, rmarkdown
Published: 2018-01-08
Author: David Gohel [aut, cre], Frank Hangler [ctb] (function body_replace_all_text), Liz Sander [ctb] (several documentation fixes), Jon Calder [ctb] (update vignettes)
Maintainer: David Gohel <david.gohel at>
License: GPL-3
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: officer results


Reference manual: officer.pdf
Vignettes: Office scraping
Package source: officer_0.2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: officer_0.2.1.tgz
OS X Mavericks binaries: r-oldrel: officer_0.2.1.tgz
Old sources: officer archive

Reverse dependencies:

Reverse imports: flextable, mschart, rvg, WordR
Reverse suggests: huxtable, jtools


Please use the canonical form to link to this page.