Re: [R] Problems with unsplit()

2011-05-19 Thread Scott Chamberlain
You generally aren't allowed to have duplicate row names in a data frame in R. If you want to keep your rownames you can make them a column in the data frame before unsplitting. Scott On Thursday, May 19, 2011 at 5:27 AM, Cecilia Carmo wrote: > Hi everyone, > > > > I have already used split

[R] Problems with unsplit()

2011-05-19 Thread Cecilia Carmo
Hi everyone, I have already used split() and unsplit() in data frames without problems, but now I’m applying these functions to other data and when using unsplit() I have received the following message: Error in `row.names<-.data.frame`(`*tmp*`, value = c("1", "2", "3", "4", : duplicat