Form the union of columns in a and b. If there are columns of the same name in both a and b, take the column from a.
cunion(a, b)
a
data frame a
b
data frame b
Hadley Wickham <h.wickham@gmail.com>