Skip to content

Instantly share code, notes, and snippets.

@mlev71
Forked from wush978/fread-demo.R
Created April 4, 2017 17:04
Show Gist options
  • Save mlev71/b0fdff9c5f16b5b65073084d730bfc63 to your computer and use it in GitHub Desktop.
Save mlev71/b0fdff9c5f16b5b65073084d730bfc63 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