New issue
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
DT1 row selection broken after DT2 = DT1[!b%in%x], setkey(DT2,a) #5230
Comments
Reproduced sessionInfo():
|
Reproduced sessionInfo():
|
shorter example: DT = data.table(a=1:10, b=rep(c(1,2), 5), key="b")
DT1 = DT[TRUE]
DT[b==1]
#> a b
#> 1: 1 1
#> 2: 3 1
#> 3: 5 1
#> 4: 7 1
#> 5: 9 1
setkey(DT1, "a")
DT[b==1]
#> a b
#> 1: 3 1
#> 2: 4 2
#> 3: 5 1 Actually, this looks like #3215 in disguise. What happens is that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is difficult to describe. Installing and using the development data.table build does not fix the bug.
#
[Minimal reproducible example
] Here are steps to reproduce. Requires DT1.tsv.gz#
Output of sessionInfo()
Also reproduced with different machine, OS, R, and data.table versions:
The text was updated successfully, but these errors were encountered: