On Sun, Mar 18, 2012 at 1:50 PM, Steve Lianoglou <
mailinglist.honeypot@gmail.com> wrote:

> Hi,
>
> I'm not sure I follow ... I think we're in total agreement, but it
> sounds like you're suggesting we aren't.
>

I think we are in agreement. I misread your "exhibit B" on the first go and
missed that b.x was coming from d1. Let's see:

R> d1 <- data.frame(a=letters[1:10], b=rnorm(10), b.x=tail(letters, 10))
R> d2 <- data.frame(a=letters[1:10], b=101:110)
R> merge(d1, d2, by="a", suffixes=c("", "y"))

The output columns I expect from this are "a", "b" (from d1), "b.x" (from
d1) and "b.y" (from d2). Since all these names are unique, in my view
merge() should not complain on this case.

Peter

	[[alternative HTML version deleted]]

