[R] Problem with duplicates in row.names
Rolf Turner
rolf.turner at xtra.co.nz
Sun Sep 9 22:26:43 CEST 2012
On 10/09/12 01:52, Fred wrote:
> Thanks Arun,
> I can manage something with that, just need then to delete the first raw
> with photoshop !
Huh? WTF?
If you're doing that then you're doing something completely wrong
and not understanding how R works.
You didn't include the context of your question, but my vague recollection
is that you want to have "duplicated row names" --- which of course is
not allowed. So include a first column of your data frame consisting of
these duplicated "names". Then if you don't want to see the unduplicated
row names (row numbers) in the final result, write the data frame to your
file setting row.names=FALSE.
cheers,
Rolf Turner
More information about the R-help
mailing list