Dear Rui, Thanks for the pointer.
On Tue, Apr 16, 2013 at 8:12 PM, Rui Barradas <ruipbarra...@sapo.pt> wrote: > setdiffDF2 <- function(A, B){ > f <- function(X, Y) > !duplicated(rbind(Y, X))[nrow(Y) + 1:nrow(X)] > ix1 <- f(A, B) > ix2 <- f(B, A) > ix1 & ix2 > } > ix <- setdiffDF2(Xe, Xf) > Xe[ix,] > Xf[ix,] > > > Note that this gives no information on the columns. > This seems to work nicely on the rows. But what about the columns? How would I take the resulting subsets and diff column by column? Thanks, Liviu ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.