We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Submitted by: Sam Steingold; Assigned to: Arun ; R-Forge link
As reported here.
options(datatable.warnings = TRUE) dt <- data.table(a = c(rep(3, 5), rep(4, 5)), b=1:10, c=11:20, d=21:30, key="a") dt <- dt[, c(lapply(.SD,sum),.N), by=a]
results in an optimisation warnings, so I cannot discard the original table right away and have to resort to an intermediate one:
dt.out <- dt[, lapply(.SD, sum), by = a] dt.out[, count := dt[, .N, by=a]$N]
The text was updated successfully, but these errors were encountered:
.SD
j
arunsrinivasan
No branches or pull requests
Submitted by: Sam Steingold; Assigned to: Arun ; R-Forge link
As reported here.
results in an optimisation warnings, so I cannot discard the original table right away and have to resort to an intermediate one:
The text was updated successfully, but these errors were encountered: