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

[R-Forge #5756] Duplicate column naming after joins #471

arunsrinivasan opened this Issue Jun 8, 2014 · 0 comments


None yet
1 participant

arunsrinivasan commented Jun 8, 2014

Submitted by: Christian Sigg; Assigned to: Nobody; R-Forge link

It seems that duplicate column naming is broken in 1.9.3. It used to be that data.table appends counters to duplicate column names after joins. For example

A <- data.table(foo = 1:2, bar = 3:4)
setkey(A, foo)

resulted in columns foo, bar, bar.1 and bar.2. Now I get foo, bar, and (again), which prevents accessing the proper bar column by name in later queries. Is this intended behavior or a regression?


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment