Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import data file compressed with .zstd

Tags:

r

data.table

I want to import data using fread but the dataset I want to import is compressed with zstd.

I know that with gzip for example I can do something like

ds <- fread('zcat file.csv.gz')

Is it possible to do something similar for zstd?

Thank you!

like image 512
António Mendes Avatar asked Oct 27 '25 22:10

António Mendes


1 Answers

zstdcat is equivalent to zcat for .zst files

like image 193
Cyan Avatar answered Oct 29 '25 13:10

Cyan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!