You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that when dt[3, b] == "A1", the output with and without copy differs, which I don't understand at all. When dt[3, b] == "C", the behaviour is as expected.
the issue was solved by following line: is.null(attr(x, '.data.table.locked'))) { # fix for #958, don't create auto index on '.SD'.
isn't it unsafe to use attr(..., exact=FALSE)?
I know it is unlikely but such error caused by some approximation of names can be hard to debug if the errors occurs.
Activity
arunsrinivasan commentedon Nov 17, 2014
Thanks, I've reproduced the bug on 1.9.5 as well.
For the future, please read and follow the instructions here and here.
arunsrinivasan commentedon Nov 17, 2014
The issue is due to automatic indexing creating secondary key attribute on
.SD.jangorecki commentedon Dec 17, 2014
the issue was solved by following line:
is.null(attr(x, '.data.table.locked'))) { # fix for #958, don't create auto index on '.SD'.isn't it unsafe to use
attr(..., exact=FALSE)?I know it is unlikely but such error caused by some approximation of names can be hard to debug if the errors occurs.