Efficient Serialization of R Objects
Overview
Streamlines and accelerates the process of saving and loading R objects, improving speed and compression compared to other methods. The package provides two compression formats: the 'qs2' format, which uses R serialization via the C API while optimizing compression and disk I/O, and the 'qdata' format, featuring custom serialization for slightly faster performance and better compression. Additionally, the 'qs2' format can be directly converted to the standard 'RDS' format, ensuring long-term compatibility with future versions of R.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-23
- NOTE11 OK, 3 NOTE2026-04-22
Show 2 earlier changesHide 2 earlier changes
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 32
- Examples that run
- 100%25 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 77%
- Documented parameters
- 100%
- Return-value docs
- 90%
- Help pages citing references
- 9%
Downloads
Repository
- PRs merged (all time)
- 75%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
Commits over time
Commit identities over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/qsbase/qs2 on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-06-03Named in .Rbuildignore: .claudeNamed in .gitignore: .claudeCommits: at least 3 crediting it in the message
- Codexfirst seen 2026-06-03Named in .Rbuildignore: .codexNamed in .gitignore: .codex
- Claude Opus 52 commits · Aug 2026
- Claude Sonnet 51 commit · Jul 2026
Dependencies
Installing qs2 adds 3 packages (3 with compiled code, 3.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, stringfish 1.0 MB, RcppParallel 744 KB.
Show all 41 packagesHide all 41 packages
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.3.1Latest
- 0.2.22026-06-03 · diff ↗
- 0.2.12026-05-04 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 0.2.0
- 0.1.7
- 0.1.6
- RR 4.5.0 released · 2025-04-11
- 0.1.5
- 0.1.42024-12-12 · diff ↗
- 0.1.32024-12-02 · diff ↗
- 0.1.22024-11-24 · diff ↗ ·
added 14 exports
qs_serialize, qs_deserialize, qs_savem, qs_readm, qd_serialize, qd_deserialize, xxhash_raw, base85_decode, base85_encode, base91_decode, base91_encode, catquo, decode_source, encode_source - 0.1.12024-09-16
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-09-16
- Total releases
- 11 / 2 yrs
- License
- GPL-3 OSI
- Copyright
- This package includes code from the 'zstd' library owned by Facebook, Inc. and created by Yann Collet; and code derived from the 'Blosc' library created and owned by Francesc Alted.
- Minimum R
- ≥ 3.6.0
- Bundled data
- 13 KB / 1 file
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("qs2")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-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.