Re: [Rd] unique.default problem (PR#12551)

2008-08-17 Thread ripley
The problem here is that there are more incomparables than x. But in any case the answer was incorrect: > unique(rep("a", 3), "a") [1] "a" I've fixed both issues via a different algorithm for 2.7.2. On Sat, 16 Aug 2008, [EMAIL PROTECTED] wrote: > Full_Name: Vilmos Prokaj > Version: R 2.7.1 > O

[Rd] unique.default problem (PR#12551)

2008-08-16 Thread prokaj
Full_Name: Vilmos Prokaj Version: R 2.7.1 OS: windows Submission from: (NULL) (213.181.195.84) Dear developers, The following line of code (produced by a mistake) caused an infinite loop unique("a",c("a","b")) or also unique(1,1:2) I made a little investigation, and it seems to be that the