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

table retain's SD's locked attribute outside [ #2245

Closed
grayskripko opened this issue Jul 5, 2017 · 0 comments · Fixed by #3791
Closed

table retain's SD's locked attribute outside [ #2245

grayskripko opened this issue Jul 5, 2017 · 0 comments · Fixed by #3791
Labels
Milestone

Comments

@grayskripko
Copy link

@grayskripko grayskripko commented Jul 5, 2017

x <- data.table(a = rnorm(3), b = rnorm(3))
x <- x[, round(.SD, 1)]
x[, c := 8] 
# Error in `[.data.table`(x, , `:=`(c, 8)) :
# .SD is locked. Using := in .SD's j is reserved for possible future use; ...
@grayskripko grayskripko changed the title Is it a ".SD is locked" bug? Is it a bug? Jul 5, 2017
@MichaelChirico MichaelChirico changed the title Is it a bug? table retain's SD's locked attribute outside [ Aug 18, 2019
MichaelChirico pushed a commit that referenced this issue Aug 18, 2019
@mattdowle mattdowle added this to the 1.12.4 milestone Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants