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

fwrite could as.data.table if given a matrix #2613

Closed
MichaelChirico opened this issue Feb 8, 2018 · 0 comments
Closed

fwrite could as.data.table if given a matrix #2613

MichaelChirico opened this issue Feb 8, 2018 · 0 comments

Comments

@MichaelChirico
Copy link
Member

@MichaelChirico MichaelChirico commented Feb 8, 2018

Not sure how many people would prefer to have fwrite automatically know to apply as.data.table to a matrix (or, better, just accept a matrix and handle the "conversion" internally instead of doing so in R, which can be costly).

The former is easy to implement, the latter, a bit harder (since matrices are stored column-wise in memory, we'll have to do some index arithmetic to write row-wise)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants