-
Notifications
You must be signed in to change notification settings - Fork 991
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
.SD is locked for DT[, DT2[.SD]] joins #1926
Comments
In this case .SD refers to the outer data.table or to the inner one? |
If you try You end up with
This clearly comes from |
And what if I want to refer to DT2 instead? |
@skanskan You cannot normally refer to |
I usually just do |
Weird new example:
Data was borrowed from SO: http://stackoverflow.com/q/43373889/ Another example to update: http://stackoverflow.com/questions/43660562/find-matches-to-several-tables-conditional-full-join-using-data-table Another example: https://stackoverflow.com/a/47818115/ should be able to write mais um exemplo: https://stackoverflow.com/questions/48995398/sum-of-data-frames-rows-in-range-defined-by-columns#comment84996740_48995696 |
Was just about to post this on SO as a new Q:
A fix that works is:
|
^ the above example is in the new |
Hey @franknarf1 could you file the other seemingly broken examples as a separate issue? I have a fix for the |
Thanks @MichaelChirico! -- I never noticed coercion was the common element, d'oh. If you want to move ahead with what you have, maybe could close this issue and I will look at the other examples soon? (It might be a week or so. Pretty busy atm, and I have not installed except from CRAN or the master binaries for Windows in a long while.) |
@franknarf1 just to let you know |
Based on an SO question, I was trying something like...
I wasn't expecting to see this error since I'm not using
set
.Other SO posts to update when fixed:
The text was updated successfully, but these errors were encountered: