Support zstd compression

Open
#7,457 0 comments 1 reaction 1 assignee View on GitHub

@ben-schwen is already working on this.

Since Mar 12, 2026.

Assessment

This issue has not been assessed yet.

Description

feature request fread fwrite

I really appreciate how fread and fwrite support gzip compression with basically no effort on the users part. I think it would be awesome if zstandard was also supported. https://github.com/facebook/zstd

Various online benchmarks have shown compression and decompression to be faster than gzip and with better compression ratios. Another big benefit is that zstd, unlike gzip, is splittable. That means you could take these CSVs and read them with Spark in parallel.

Thanks for considering!

Dominant language
R
Stars
3.9k
Forks
1.1k
Avg merge
14h 4m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Rdatatable/data.table

All issues in Rdatatable/data.table

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.