Skip to content
Prev 54823 / 63424 Next

Duplicate column names created by base::merge() when by.x has the same name as a column in y

Hi Scott,

Thanks for the patch. I'm not really involved in R development; it
will be up to someone in the R core team to apply it. I would hazard
to say that even if correct (I haven't checked), it will not be
applied because the change might break existing code. For example it
seems like reasonable code might easily assume that a column with the
same name as "by.x" exists in the output of 'merge'. That's just my
best guess... I don't participate on here often.

Cheers,

Frederick
On Sat, Feb 17, 2018 at 04:42:21PM +1100, Scott Ritchie wrote: