[R] Joining two files

jim holtman jholtman at gmail.com
Fri Nov 23 16:04:41 CET 2012


Have you tried 'merge'?

You did not provide any sample data (use 'dput' if you do) so that we
could show a possible solution.

On Fri, Nov 23, 2012 at 9:56 AM, Virgile Capo-Chichi
<vcapochichi at gmail.com> wrote:
> Hello all,
> I al trying to join (ADD FILES in SPSS) two files using the rbind()
> function. However, with rbind() R does not behave the same way as SPSS. I
> mean, it just concatenates the two blocs with no consideration for same
> variables if these are not in the same position in the two files. Anyone
> knows a function that performs the SPSS ADD FILES task? Thanks, V
>
>         [[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
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.




More information about the R-help mailing list