The officer package facilitates access to and manipulation of 'Microsoft Word' and 'Microsoft PowerPoint' documents from R. It also supports the writing of 'RTF' documents.
Examples of usage are:
Create Word documents with tables, titles, TOC and graphics
Importation of Word and PowerPoint files into data objects
Write updated content back to a PowerPoint presentation
Clinical reporting automation
Production of reports from a shiny application
To start with officer, read about read_docx()
, read_pptx()
or rtf_doc()
.
The package is also providing several objects that can be printed
in 'R Markdown' documents for advanced Word or PowerPoint
reporting as run_autonum()
and block_caption()
.
See also
The user documentation: https://ardata-fr.github.io/officeverse/ and manuals https://davidgohel.github.io/officer/
Author
Maintainer: David Gohel david.gohel@ardata.fr
Authors:
Stefan Moog moogs@gmx.de
Mark Heckmann heckmann.mark@gmail.com (ORCID)
Other contributors:
ArData [copyright holder]
Frank Hangler frank@plotandscatter.com (function body_replace_all_text) [contributor]
Liz Sander lsander@civisanalytics.com (several documentation fixes) [contributor]
Anton Victorson anton@victorson.se (fixes xml structures) [contributor]
Jon Calder jonmcalder@gmail.com (update vignettes) [contributor]
John Harrold john.m.harrold@gmail.com (function annotate_base) [contributor]
John Muschelli muschellij2@gmail.com (google doc compatibility) [contributor]
Bill Denney wdenney@humanpredictions.com (ORCID) (function as.matrix.rpptx) [contributor]
Nikolai Beck beck.nikolai@gmail.com (set speaker notes for .pptx documents) [contributor]
Greg Leleu gregoire.leleu@gmail.com (fields functionality in ppt) [contributor]
Majid Eismann [contributor]
Hongyuan Jia hongyuanjia@cqust.edu.cn (ORCID) [contributor]