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: Matt Dowle; Assigned to: Nobody; R-Forge link
require(data.table) DT = data.table(a=1:9, grp=1:3) DT[ , keep := c(rep(FALSE, .N-1), TRUE), by = grp] DT[(keep), keep := NULL][] # ignores keep DT[, keep := c(rep(FALSE, .N-1), TRUE), by = grp] DT[keep==TRUE, keep := NULL][] # ignores keep DT[, keep := c(rep(FALSE, .N-1), TRUE), by = grp] DT[(keep)][, keep := NULL][] # works
The text was updated successfully, but these errors were encountered:
This was fixed to error by @mattdowle in commit 1316 00284c6. Closing and updating README with this issue.
Sorry, something went wrong.
mattdowle
No branches or pull requests
Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link
The text was updated successfully, but these errors were encountered: