Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Is there currently any way to write to a compressed text file?
Ideally, compression would be automatically detected from the path (ending in .gz, .bz2, or .xz) argument of readr::write_tsv().
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
The best way to do this is probably to use the C-level connection API (which I think will require a dependency on R 3.3.0), and then create the connection in R code.
What does ready label imply here? Next release?
IMHO, it would be ideal for path to accept R connection (like write.csv does), including gzfile() or bzfile().
It would be nice to have both functionalities:
instead of replacing the former with:
write.csv(df, bzfile("x.csv.bz2"), row.names = F)
Successfully merging a pull request may close this issue.