Re: [R] Matching Up Values

From: Steve Murray <>
Date: Fri, 18 Jul 2008 10:53:47 +0000

I think the approach is ok. I'm having difficulties though...!

I've managed to get 'merge' working (using the 'all' function as suggested), but for some strange reason, the output file produces 12 extra rows! So now the shorter file isn't the same length as the 'master' file, it's now longer!

The files are fairly sizeable (~60000 rows) so it's difficult to pin-point manually where it's lost track.

Is there an obvious solution to this?

I was wondering if the best thing might be to 'de-merge' the now-longer file, so that the surplus rows are removed. Is there a command therefore which will enable me to compare the now-longer file to the master file, so that any coordinate pairs which are present in the longer file but not in the (now-shorter) master file are removed?

Thanks again,


Play and win great prizes with Live Search and Kung Fu Panda mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 18 Jul 2008 - 11:06:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 Jul 2008 - 12:32:03 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive