Re: [R] stuck with repeated values

2008-12-03 Thread Chuck Cleland
On 12/3/2008 6:32 AM, SOUVIK BANDYOPADHYAY wrote: > R Gurus,I have a vector of nearly 90,000 characters from which I have to > extract the index of the characters which are repeated. So suppose if > x<-c("a","a","b","a","b","c","d") then my output would be a vector having > the index where the valu

[R] stuck with repeated values

2008-12-03 Thread SOUVIK BANDYOPADHYAY
R Gurus,I have a vector of nearly 90,000 characters from which I have to extract the index of the characters which are repeated. So suppose if x<-c("a","a","b","a","b","c","d") then my output would be a vector having the index where the values are repeated i.e (1,2,3,4,5). I have been able to isola