title: R join 2 data frames
body: <p>Hello i would like to know how can i merge 2 data frames in R,there is a merge function ,but i would like to do this :</p>
  
  <pre><code>data frame1
    X Y Z
  1  1 1 1  
  2  1 1 1
  3  1 1 1
  4  1 1 1
  5  1 1 1
  
  data frame 2
    A B C
  1 2 2 2
  2 2 2 2
  3 2 2 2
  
  
  
  mergedataframe
    X Y Z A B C 
  1 1 1 1  
  2 1 1 1 
  3 1 1 1 2 2 2
  4 1 1 1 2 2 2
  5 1 1 1 2 2 2
  </code></pre>
  
  <p>the think is i must synchronize 3 csv files (dataframe) and i have no idea how to it with R.</p>
  
  <p>if somebody have any idea about it ,thank u </p>
  
  <p>i redit my post i would like my merged data frame like that :</p>
  
  <p>data frame1</p>
  
  <pre><code>        X Y Z
      1  1 1 1  
      2  1 1 1
      3  1 1 1
      4  1 1 1
      5  1 1 1
      6  1 1 1
  
  data frame 2
    A B C
  1 2 2 2
  2 2 2 2
  
  
  
  
  mergedataframe
    X Y Z A B C 
  1 1 1 1  
  2 1 1 1 
  3 1 1 1 2 2 2
  4 1 1 1 2 2 2
  5 1 1 1 
  6 1 1 1
  </code></pre>