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
require(data.table) options(datatable.auto.index=FALSE) dt <- data.table(x=1, y="a") val <- c(foo=1L) dt[x == val] # returns wrong result # Empty data.table (0 rows) of 2 cols: x,y dt[x == unname(val)] # x y # 1: 1 a
The text was updated successfully, but these errors were encountered:
Added length(i)==1L to avoid unname() cost #2152
6e38d30
453bb2a
Merge pull request #2213 from Rdatatable/named_logical_subset_2152
41f8d6f
named logical vector in i now selects expected row. Closes #2152
jangorecki
No branches or pull requests
The text was updated successfully, but these errors were encountered: