officer: Manipulation of Microsoft Word and PowerPoint Documents

Access and manipulate 'Microsoft Word', 'RTF' 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. The package does not require any installation of Microsoft products to be able to write Microsoft files.

Version: 0.6.6
Imports: graphics, grDevices, openssl, R6, ragg, stats, utils, uuid, xml2 (≥ 1.1.0), zip (≥ 2.1.0)
Suggests: devEMF, doconv (≥ 0.3.0), ggplot2, knitr, magick, rmarkdown, rsvg, testthat
Published: 2024-05-05
DOI: 10.32614/CRAN.package.officer
Author: David Gohel [aut, cre], Stefan Moog [aut], ArData [cph], 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] (function annotate_base), John Muschelli [ctb] (google doc compatibility), Bill Denney ORCID iD [ctb] (function as.matrix.rpptx), Nikolai Beck [ctb] (set speaker notes for .pptx documents), Greg Leleu [ctb] (fields functionality in ppt), Hongyuan Jia ORCID iD [ctb]
Maintainer: David Gohel <david.gohel at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
In views: ReproducibleResearch
CRAN checks: officer results


Reference manual: officer.pdf


Package source: officer_0.6.6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): officer_0.6.6.tgz, r-oldrel (arm64): officer_0.6.6.tgz, r-release (x86_64): officer_0.6.6.tgz, r-oldrel (x86_64): officer_0.6.6.tgz
Old sources: officer archive

Reverse dependencies:

Reverse imports: apmx, augmentedRCBD, autoReg, bfw, codebookr, compareGroups, crosstable, demoGraphic, DescrTab2, documenter, eoffice, epiR, EpiReport, export, flextable, GRShiny, gto, GWSDAT, interactionR, interpretCI, inTextSummaryTable, ivo.table, jsmodule, kfa, MCPModPack, MedianaDesigner, microplot, mschart, officedown, onbrand, presenter, r2pptx, reappraised, relMix, repmod, robmedExtra, Rrepest, rrtable, rsides, rvg, saros, SWMPrExtension, TestAnaAPP, thinkr, washi, WordR, ztable
Reverse suggests: accessr, activAnalyzer, basictabler, DemographicTable, esquisse, gtsummary, huxtable, manymome.table, Mediana, modelsummary, r2rtf, reservr, rtables, statgenGWAS, strand, SurveyDefense, toxSummary, ubiquity, visOmopResults


Please use the canonical form to link to this page.