Skip to content

Instantly share code, notes, and snippets.

@mkim0710
Forked from wush978/fread-demo.R
Created January 3, 2019 06:59
Show Gist options
  • Save mkim0710/2ab8db33b2198b820bc11629c6768118 to your computer and use it in GitHub Desktop.
Save mkim0710/2ab8db33b2198b820bc11629c6768118 to your computer and use it in GitHub Desktop.
decompress bzfile and remove null string and read in fread
fread(sprintf("bzcat %s | tr -d '\\000'", filename))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment