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: Ricardo Saporta; Assigned to: Arun ; R-Forge link
When duplicate column names exist, .SD drops columns
.SD
DT <- data.table(x=1:3, x=11:13) ## Works Fine DT[, names(DT)=="x", with=FALSE] ## Looses Second Column DT[, names(DT)=="x", with=FALSE][, .SD]
The text was updated successfully, but these errors were encountered:
Also updated this SO post and here's the commit that fixed handling duplicate names: 9f0a7f8
Sorry, something went wrong.
arunsrinivasan
No branches or pull requests
Submitted by: Ricardo Saporta; Assigned to: Arun ; R-Forge link
When duplicate column names exist,
.SD
drops columnsThe text was updated successfully, but these errors were encountered: