Top "Duplicates" questions

The "duplicates" tag concerns detecting and/or dealing with multiple instances of items in collections.

How to count the consecutive duplicate values in an array?

I have an array like this: $arr = array(1, 1, 1, 2, 2, 3, 3, 1, 1, 2, 2, 3); I found the function array_count_values(), but it will group all …

php arrays duplicates grouping counting
How can I remove all duplicates so that NONE are left in a data frame?

There is a similar question for PHP, but I'm working with R and am unable to translate the solution to …

r duplicates unique r-faq
Strong Name sn.exe: Failed to install key pair -- Object already exists

I have 2 different versions of the same project on my machine. One from the code trunk, and the other from …

.net certificate duplicates sn.exe strong-named-key
Dealing with duplicate contacts due to linked cards in iOS' Address Book API

Some beta-users of my upcoming app are reporting that the list of contacts contain a lot of duplicate records. I'm …

objective-c cocoa-touch duplicates abaddressbook abrecord
Suppress "duplicate key value violates unique constraint" errors

I'm developing a Rails 3 app that uses Postgres as its database. I've got the table shown below: Table "public.test" …

sql ruby-on-rails postgresql duplicates sql-insert
How to find Column with same (some x value) value repeated more than once? Needs to return those rows.

There is a table called contacts with columns id, name, address, ph_no etc. I need to find out rows …

oracle plsql duplicates rows
How to duplicate a wordpress plugin?

How can I duplicate a Wordpress plugin so that there are two of the same plugins running with its respective …

wordpress plugins copy duplicates mirror
zipping files with the same name in different folders using 7z @listfile feature

I want to create a 7zip file containing files with the same names but in different folders using 7zip's @listfile …

directory compression duplicates 7zip
How to delete duplicate lines in a file...AWK, SED, UNIQ not working on my file

I find many ways to do this, AWK, SED, UNIQ, but none of them are working on my file. I …

sed awk duplicates lines uniq
rbind data frames, duplicated rownames issue

While duplicated row (and column) names are allowed in a matrix, they are not allowed in a data.frame. Trying …

r duplicates dataframe duplicate-removal rbind