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
names(.SD) sometimes incorrect #1965
Milestone
Comments
Maybe related to #1744 |
@franknarf1 in fact I guess it's the same. I'll leave this open just in case... |
|
@jangorecki I have a fix but it's not quite so simple as having
It's
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to #495.
names(.SD)
incorrectly (unexpectedly?) includes all variable names inj
:I expected the following to reproduce the problem, but it doesn't (i.e., this works as expected):
So I'm including the more complicated example which brought the problem out:
MEDV:..
shouldn't be there at the end. If we exclude the outerpaste0
, it's not:Maybe somehow
names(.SD)
is interacting withget
?Even the old trick of replacing
MEDV
withDT$MEDV
doesn't work (norcopy
ing it)!I had to define
mv
in the main environment and replaceMEDV
withmv
.The text was updated successfully, but these errors were encountered: