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

internal error when improperly assigning to list column #3543

Closed
MichaelChirico opened this issue May 4, 2019 · 0 comments · Fixed by #3583
Closed

internal error when improperly assigning to list column #3543

MichaelChirico opened this issue May 4, 2019 · 0 comments · Fixed by #3583
Milestone

Comments

@MichaelChirico
Copy link
Member

@MichaelChirico MichaelChirico commented May 4, 2019

Was playing around with #681 and broke something, I guess related to #3310 re: recycling in := assignment:

DT = data.table(a = 1:3)
DT[ , 'c' := .(0, 1, 2)]
DT[ , 'c' := .(rep(0, .N), rep(1, .N))]

Error in [.data.table(DT, , :=("c", .(rep(0, .N), rep(1, .N)))) :
Internal error: recycle length error not caught earlier. slen=2 len=3

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

Successfully merging a pull request may close this issue.

2 participants