| Title: | Fast Parallel Excel Spreadsheet Writer |
|---|---|
| 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. |
| Authors: | Amin Fathullah [aut, cre] |
| Maintainer: | Amin Fathullah <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.0 |
| Built: | 2026-10-27 20:33:53 UTC |
| Source: | https://github.com/cran/rapidxlsx |
Writes tabular data to an Excel XLSX workbook using a multi-threaded Rust engine with parallel Deflate compression.
write_xlsx(data, path, sheet_name = "Sheet1", compression_level = 1L)write_xlsx(data, path, sheet_name = "Sheet1", compression_level = 1L)
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). |
Invisibly returns the path to the written file.
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)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)