Re: [R] merging data frames

From: jim holtman <jholtman_at_gmail.com>
Date: Mon, 14 Jun 2010 09:33:14 -0400

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?

______________________________________________
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.
Received on Mon 14 Jun 2010 - 13:34:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jun 2010 - 16:00:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive