Skip to content
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

Bug using functions on "i" with optimization #895

Closed
kislenok-roman opened this issue Oct 15, 2014 · 2 comments
Closed

Bug using functions on "i" with optimization #895

kislenok-roman opened this issue Oct 15, 2014 · 2 comments
Assignees
Milestone

Comments

@kislenok-roman
Copy link

options(datatable.auto.index=TRUE)
options(datatable.verbose=TRUE)
data.table(one = c(rep(10, 1), rep(20, 2)))[one == max(one)]

creating new index 'one'
forder took 0 sec
Error in eval(expr, envir, enclos) : object 'one' not found

options(datatable.auto.index=FALSE)
data.table(one = c(rep(10, 1), rep(20, 2)))[one == max(one)]

one
1: 20
2: 20

@jangorecki
Copy link
Member

is it on 1.9.4 or latest 1.9.5?
seems to be duplicate of #858 which should be already fixed.

@kislenok-roman
Copy link
Author

The latest avaiable on CRAN 1.9.4. Yes, it seems the same problem. Cool that it's already fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants