Put the rownames as another column in your dataframe so that it
remains with the data. After merging, you can then use it as the
"rownames"
On Mon, Jun 14, 2010 at 9:25 AM, Assa Yeroslaviz <frymor at gmail.com>
wrote:> Hi,
>
> is it possible to merge two data frames while preserving the row names of
> the bigger data frame?
>
> I have two data frames which ?i would like to combine. While doing so I
> always loose the row names. When I try to append this, I get the error
> message, that I have non-unique names. This although I used unique command
> on the data frame where the double inputs supposedly are
>
> thanks for the help
>
> Assa
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?