Skip to content

Efficient Serialization of R Objects

20packages dependsuggested by 21
277.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 5.3 min · r-devel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.3.1
READMEYes · 574 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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%
Vignettes (1)

Downloads

277.1K
CRAN downloads in the past year
Rank #627 · ~759/day · ~23.1K/mo
Daily download trend is not available in this view yet.
27K30 days
93.1K90 days
277.1K1 year
Compare downloads with other packages →
Also on4.8K r2u4 autocran12.8K conda_forge

Repository

qsbase/qs2 ↗Organization: qsbase
111Stars
4Forks
2Open issues
0Open PRs
0Releases
98Commits
3Commit identities
compressiondata-storagerserialization
98 commits · Last activity 2026-09-25 · +3.7% stars, 30d
Responsiveness
How these are sampled
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

2025-10-19 · 412026-10-21 · 111
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-06-03
    Named in .Rbuildignore: .claude
    Named in .gitignore: .claude
    Commits: at least 3 crediting it in the message
  • Codexfirst seen 2026-06-03
    Named in .Rbuildignore: .codex
    Named in .gitignore: .codex
Models named in its commits
  • Claude Opus 52 commits · Aug 2026
  • Claude Sonnet 51 commit · Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.6.0
LinkingTo (2)
Enhances (0)
none

Datasets

People & History

People (7)
Author, Maintainer since 0.1.1 (2024), Copyright holder
Contributor, Copyright holder
Shuffling routines derived from Blosc library
Contributor, Copyright holder
Yann Collet is the author of the bundled zstd
Contributor, Copyright holder
Contributor/copyright holder of zstd bundled code
Contributor, Copyright holder
Contributor/copyright holder of zstd bundled code
Contributor, Copyright holder
Contributor/copyright holder of zstd bundled code
Copyright holder
Facebook is the copyright holder of the bundled zstd code
Releases (11)

Pick two releases to compare their code metrics.

  • 0.3.1Latest
    record
    2026-08-21 · current release · diff ↗
  • 0.2.2
    record
    2026-06-03 · diff ↗
  • 0.2.1
    record
    2026-05-04 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0
    record
    2026-04-22 · diff ↗ ·
    added 2 exports
    generate_test_data, qs_cache
  • 0.1.7
    record
    2026-01-20 · diff ↗ ·
    added 2 exports
    zstd_in, zstd_out
  • 0.1.6
    record
    2025-11-21 · diff ↗ ·
    added 2 exports
    zstd_compress_file, zstd_decompress_file
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.5
    record
    2025-03-07 · diff ↗ ·
    added 1 export
    qopt
  • 0.1.4
    record
    2024-12-12 · diff ↗
  • 0.1.3
    record
    2024-12-02 · diff ↗
  • 0.1.2
    record
    2024-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.1
    record
    2024-09-16
  • R
    R 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")
Ching, T., Facebook, Inc., Alted, F., Collet, Y., Przemyslaw, S., Tino, R., & Yuta, M. (2026). qs2: Efficient Serialization of R Objects (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for qs2 version 0.3.1 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy