Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUsing 'on' style join with two different column names #2383
Comments
|
Sorry, you've misunderstood the documentation. Maybe the wording needs to be cleaned up. The names of the vector passed to
|
|
You can also do d1[d2, on = "A==W"] |
Closes #2383; clarifies documentation of on
Dear data.table team,
I came across a small issue with the use of 'on' in table joins. Or am I misunderstanding the documentation (pasted in below posting):
`
All works well. But now when I try a different column name in d2, it does not work:
`
Given my understanding over this sentence in the documentation, the code above should produce the identical output as the first example.