Now "fread" from data.table can read "gz" and "bz2" files directly

October 31, 2018

(This article was first published on Coastal Econometrician Views, and kindly contributed to R-bloggers)

Dear R Programmers,

Those who all use data.table for your data readings, good news is that now, fread supports direct reading of zip formats like”gz” and “bz2”.

To all my followers and readers, as mentioned earlier several times, good way for saving both space and reading fast is achievable by first saving 
raw files into “gz” format and their after reading the same into R and convert them into to fst format for all further reads/loading.

Happy R Programming!

To leave a comment for the author, please follow the link and comment on their blog: Coastal Econometrician Views. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)