Read, Write and Edit xlsx Files
Overview
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, styling and editing worksheets. Through the use of 'Rcpp', read/write times are comparable to the 'xlsx' and 'XLConnect' packages with the added benefit of removing the dependency on Java.
Install
Health
- OK13 OK2026-09-07
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-05-02
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 86 (1 internal)includes a package overview page
- Examples that run
- 93%70 run in a plain check · 5 never run
- Exported functions with examples
- 91%
- Documented parameters
- 98%
- Return-value docs
- 29%
- Help pages citing references
- 0%
- Formating with xlsx HTML
- Introduction HTML
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 375
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
15 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/ycphs/openxlsx on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-02 · The repository has a site deploy workflow
Show all practicesHide 3 practices
This repository has an AI review tool set up.
- Copilot code reviewCommits: some accepting its review suggestions, count not recorded
Dependencies
Installing openxlsx adds 4 packages (4 with compiled code, 14 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, cli 629 KB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 162 more dependents and 107 packages that suggest it on CRAN ↗
Code & Tests
Datasets
People & History
Previously maintained by Philipp Schauberger (1.0.3 to 4.2.5.2).
Pick two releases to compare their code metrics.
- 4.2.9Latest
- RR 4.6.0 released · 2026-04-24
- 4.2.8.12025-10-31 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 4.2.82025-01-25 · diff ↗
- 4.2.7.12024-09-20 · diff ↗
- 4.2.72024-08-30 · diff ↗ ·
added 4 exports
auto_heights, getWindowSize, get_worksheet_entries, setWindowSize - 4.2.6.12024-07-23 · diff ↗
- 4.2.6
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 4.2.5.22023-02-06 · diff ↗
- 4.2.5.12022-10-24 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 4.2.5
- 4.2.42021-06-16 · diff ↗ ·
added 6 exports
activeSheet<-, activeSheet, buildWorkbook, op.openxlsx, openxlsx_getOp, openxlsx_setOp
Show 26 earlier eventsHide 26 earlier events
- RR 4.1.0 released · 2021-05-18
- 4.2.32020-10-27 · diff ↗
- 4.2.2
- 4.1.5
- RR 4.0.0 released · 2020-04-24
- 4.1.4
- 4.1.32019-11-07 · diff ↗
- unarchivedReturned to CRAN2019-10-29
- 4.1.2
- orphanedOrphaned by its maintainer2019-05-28check issues were not addressed despite reminder gcc 9 warnings
- 4.1.0.12019-05-28 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 4.1.02018-05-26 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 4.0.17
- 4.0.02017-01-09 · diff ↗ ·
added 9 exports
sheetVisibility<-, sheetVisible<-, copyWorkbook, createNamedRegion, dataValidation, makeHyperlinkString, pageBreak, sheetVisibility, sheetVisible - RR 3.3.0 released · 2016-05-03
- 3.0.02015-07-03 · diff ↗ ·
added 7 exports
createComment, getNamedRegions, getSheetNames, int2col, removeComment, writeComment, writeFormula - RR 3.2.0 released · 2015-04-16
- 2.4.02015-03-07 · diff ↗ ·
removed 1 export
names.Workbookadded 2 exports
conditionalFormatting, getDateOrigin - 2.2.12014-10-18 · diff ↗ ·
removed 1 export
orderCellRefadded 3 exports
addFilter, removeFilter, setHeaderFooter - 2.0.15
- 2.0.12014-05-29 · diff ↗ ·
added 6 exports
worksheetOrder<-, convertToDate, getBaseFont, openXL, worksheetOrder, write.xlsx - 1.0.32014-04-21
- RR 3.1.0 released · 2014-04-10
Package metadata
- First published
- 2014-04-21
- Total releases
- 27 / 12 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-3 in 4.1.0
- Minimum R
- ≥ 3.3.0
- Bundled data
- 7.0 KB / 2 files
- Download size
- 1.3 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("openxlsx")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.