Efficient Serialization of R Objects
basE91 Encoding
Shuffle a raw vector
Un-shuffle a raw vector
catquo
Decode a compressed string
Encode and compress a file or string
qd_deserialize
qd_read
qd_save
qd_serialize
qs_deserialize
qs_read
qs_readm
qs_save
qs_savem
qs_serialize
qs2 to RDS format
qx_dump
RDS to qs2 format
XXH3_64 hash
Zstd compress bound
Zstd compression
Zstd decompression
Z85 Decoding
Z85 Encoding
basE91 Decoding
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.