data.table argument to allow 'raw' output

Open
#4,326 9 comments 0 reactions 1 assignee View on GitHub

@shrektan is already working on this.

Since Mar 31, 2020.

Assessment

This issue has not been assessed yet.

Description

non-atomic column

I encounter some situations where I would find it very helpful to have an option to return the raw structure of a data.table evaluation. (Bad) example:

DT <- data.table(x = 1:10, y = 1:10 + rnorm(10))
DT[,{
  lm(y ~ x)
}, return.raw = TRUE] 

instead of

DT[,{
  list(list(lm(y ~ x)))
}][, V1[[1]]]

Hope that's not a duplicate (sorry if so...).

Dominant language
R
Stars
3.9k
Forks
1.1k
Avg merge
14h 4m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Rdatatable/data.table

All issues in Rdatatable/data.table

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.