Skip to content
New issue

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? Sign in to your account

Streamable table #10

Merged
merged 7 commits into from
Jul 26, 2018
Merged

Streamable table #10

merged 7 commits into from
Jul 26, 2018

Conversation

cboettig
Copy link
Member

First pass at implementing @richfitz's proposal for pluggable text interface.

  • write method must take a connection
  • read method gets text string from readLines (which draws from the possibly compressed connection)

Connection is generalized to handle any of the compressed connection types on both the read and write side, so as long as method can operate on a connection this is handled automatically.

Notes:

  • Consequence of above is that base utils::read.table method needs input to be wrapped in textConnection.
  • base methods wrap write.table, note that write.csv etc prevent appending because it locks col.names
  • tests and some documentation have been added.

@cboettig cboettig mentioned this pull request Jul 26, 2018
12 tasks
@cboettig cboettig merged commit fad77ba into master Jul 26, 2018
@cboettig cboettig deleted the streamable-table branch August 13, 2018 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant