| Type: | Package |
| Title: | Fast Parallel Excel Spreadsheet Writer |
| Version: | 0.1.0 |
| Author: | Amin Fathullah [aut, cre] |
| Maintainer: | Amin Fathullah <amin_fathullah@yahoo.com> |
| Description: | Serializes tabular data frames to Microsoft Excel 'OpenXML' ('xlsx') workbooks using a multi-threaded Rust core with parallel Deflate compression and zero-copy columnar memory mapping. |
| License: | MIT + file LICENSE |
| Encoding: | UTF-8 |
| RoxygenNote: | 7.3.2 |
| SystemRequirements: | Cargo (Rust toolchain) |
| URL: | https://github.com/aminfathullah/rapidxlsx |
| BugReports: | https://github.com/aminfathullah/rapidxlsx/issues |
| NeedsCompilation: | yes |
| Suggests: | knitr, rmarkdown |
| VignetteBuilder: | knitr |
| Packaged: | 2026-10-16 09:29:39 UTC; maja |
| Repository: | CRAN |
| Date/Publication: | 2026-10-27 15:10:02 UTC |
Write Data Frame to XLSX File
Description
Writes tabular data to an Excel XLSX workbook using a multi-threaded Rust engine with parallel Deflate compression.
Usage
write_xlsx(data, path, sheet_name = "Sheet1", compression_level = 1L)
Arguments
data |
A data.frame or object coercible to a data.frame. |
path |
Path to output XLSX file. |
sheet_name |
Name of worksheet (default: "Sheet1"). |
compression_level |
Deflate compression level (1 to 9, default: 1). |
Value
Invisibly returns the path to the written file.
Examples
df <- data.frame(
id = 1:5,
name = c("Alice", "Bob", "Charlie", "David", "Eva"),
score = c(95.5, 82.0, 91.5, 78.0, 88.5),
active = c(TRUE, FALSE, TRUE, TRUE, FALSE)
)
tmp <- tempfile(fileext = ".xlsx")
write_xlsx(df, tmp)