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.14
Imports: R6, grDevices, zip (≥ 2.1.0), uuid, stats, magrittr, utils, xml2 (≥ 1.1.0), graphics
Suggests: testthat, devEMF, tibble, ggplot2, rmarkdown, base64enc, knitr, rsvg
Published: 2020-09-07
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), John Muschelli [ctb] (google doc compatibility)
Maintainer: David Gohel <david.gohel at>
License: GPL-3
NeedsCompilation: no
Materials: README NEWS
In views: ReproducibleResearch
CRAN checks: officer results


Reference manual: officer.pdf
Vignettes: Using officer
Package source: officer_0.3.14.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: officer_0.3.14.tgz, r-oldrel: officer_0.3.14.tgz
Old sources: officer archive

Reverse dependencies:

Reverse imports: augmentedRCBD, clickR, collector, compareGroups, concurve, customLayout, demoGraphic, docdescriptR, docinfeR, documenter, eoffice, EpiReport, flextable, florestal, GWSDAT, interactionR, MCPModPack, microplot, mschart, officedown, processR, rrtable, RtutoR, rvg, SWMPrExtension, thinkr, ubiquity, WordR, ztable
Reverse suggests: atable, bfw, esquisse, gtsummary, huxtable, Mediana, modelsummary, nlmixr, statgenGWAS


Please use the canonical form to link to this page.