Thanks for your answer, but:
1. can you please cite the question? It is hard for mailing list readers to follow now.
2. I think
   which(duplicated(x))
should be simpler, faster and less confusing, if your code would be the solution - which is not. 3. Please read the original question carefuly and find that your code and my optimization of it above gives a different undesired answer.

Best,
Uwe Ligges






On 09.04.2011 01:05, B77S wrote:
which(duplicated(x)=="TRUE")

--
View this message in context: 
http://r.789695.n4.nabble.com/duplicates-function-tp3436584p3437614.html
Sent from the R devel mailing list archive at Nabble.com.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to