R-evolution
Published in

R-evolution

How to export >100x faster .csv files from R for big data

TLDR; You should use data.table::fwrite() to export .csv from r, because it is more than >100 times faster than other methods. If you want to export your data as Excel xlsx, you should use openxlsx. But it is not recommended for big data. If you want to learn more about Data Science in R, I recommend this book*.

Image by author

Why you have to export to .csv?

--

--

R-evolution is your go-to source for the latest and greatest in R programming and data analysis. From innovative techniques and tools to in-depth tutorials and industry insights, we comprehensively look at how R is revolutionizing how we analyze and understand data.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store