mschart: Chart Generation for 'Microsoft Word', 'Microsoft Excel' and 'Microsoft PowerPoint' Documents

Create native charts for 'Microsoft PowerPoint', 'Microsoft Excel' and 'Microsoft Word' documents. The resulting charts can then be edited and annotated in the host application. It provides functions to create charts and to modify their content and formatting. The chart's underlying data is automatically saved within the 'Word', 'Excel' or 'PowerPoint' file. It extends the 'officer' package, which does not provide native 'Microsoft' chart production.

Version: 0.4.3
Depends: R (≥ 3.5)
Imports: cellranger, data.table, grDevices, htmltools, officer (≥ 0.7.4), scales, stats, utils, writexl, xml2 (≥ 1.1.0)
Suggests: doconv (≥ 0.4.0), testthat (≥ 3.0.0)
Published: 2026-04-25
DOI: 10.32614/CRAN.package.mschart
Author: David Gohel [aut, cre], ArData [cph], YouGov [fnd], Jan Marvin Garbuszus [ctb] (support for openxlsx2 and combo charts), Stefan Moog [ctb] (support to set chart and plot area color and border, fix for line style none), Eli Daniels [ctb], Marlon Molina [ctb] (added table feature), Rokas Klydzia [ctb] (custom labels), David Camposeco [ctb] (chart_data_smooth function), Dan Joplin [ctb] (fix scatter plot data structure)
Maintainer: David Gohel <david.gohel at ardata.fr>
BugReports: https://github.com/ardata-fr/mschart/issues
License: MIT + file LICENSE
URL: https://ardata-fr.github.io/officeverse/, https://ardata-fr.github.io/mschart/
NeedsCompilation: no
Materials: README, NEWS
In views: ReproducibleResearch
CRAN checks: mschart results

Documentation:

Reference manual: mschart.html , mschart.pdf

Downloads:

Package source: mschart_0.4.3.tar.gz
Windows binaries: r-release: mschart_0.4.1.zip, r-oldrel: mschart_0.4.1.zip
macOS binaries: r-release (arm64): mschart_0.4.3.tgz, r-oldrel (arm64): mschart_0.4.3.tgz, r-release (x86_64): mschart_0.4.1.tgz, r-oldrel (x86_64): mschart_0.4.1.tgz
Old sources: mschart archive

Reverse dependencies:

Reverse imports: saros
Reverse suggests: officer, openxlsx2, surveytable

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mschart to link to this page.