using bzip and data.table

fwrite_bz2(x, y, quote = TRUE)

Arguments

x

data file to write as csv