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.3.4
Imports: Rcpp (≥ 0.12.12), R6, grDevices, base64enc, zip (≥ 2.0.0), digest, uuid, stats, magrittr, htmltools, rlang, xml2 (≥ 1.1.0)
LinkingTo: Rcpp
Suggests: testthat, devEMF, tibble, ggplot2, rmarkdown, knitr, rsvg
Published: 2019-04-30
Author: David Gohel [aut, cre], Frank Hangler [ctb] (function body_replace_all_text), Liz Sander [ctb] (several documentation fixes), Anton Victorson [ctb] (fixes xml structures), Jon Calder [ctb] (update vignettes), John Harrold [ctb] (fuction annotate_base)
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.3.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: officer_0.3.4.tgz, r-oldrel: officer_0.3.4.tgz
Old sources: officer archive

Reverse dependencies:

Reverse imports: augmentedRCBD, clickR, ClinReport, collector, customLayout, demoGraphic, documenter, eoffice, EpiReport, export, flextable, GWSDAT, microplot, mschart, processR, rrtable, RtutoR, rvg, thinkr, WordR, ztable
Reverse suggests: atable, bfw, esquisse, huxtable, Mediana


Please use the canonical form to link to this page.