Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*Removing\s+duplicates\s+from\s+Rows\s*$/: 2 ]

Total 2 documents matching your query.

1. Removing duplicates from Rows (score: 1)
Author: Jagadish Rangrej <jrangrej@yahoo.com>
Date: Tue, 27 Sep 2005 13:27:59 -0700 (PDT)
I have duplicates in a table, using two columns to identify the duplicity. How can I remove the duplicates is there any single line trick ? Thanks, Jag __________________________________ Yahoo! Mail
/archives/html/s-news/2005-09/msg00092.html (8,169 bytes)

2. Re: Removing duplicates from Rows (score: 1)
Author: Sundar Dorai-Raj <sundar.dorai-raj@pdf.com>
Date: Tue, 27 Sep 2005 15:42:15 -0500
Thanks, Jag See ?unique or ?duplicated. Probably you want: data[!duplicated(data[c("col1", "col2")]), ] If "col1" and "col2" are the only columns in data, then you simply need: unique(data) HTH, --su
/archives/html/s-news/2005-09/msg00093.html (8,674 bytes)


This search system is powered by Namazu