title: combining two data frames of different lengths
body: <p>I have two data frames.<br>
  The first is of only one column and 10 rows.<br>
  The second is of 3 columns and 50 rows.</p>
  
  <p>When I try to combine this by using <code>cbind</code>, it gives this error:</p>
  
  <blockquote>
    <p>Error in data.frame(..., check.names = FALSE) :</p>
  </blockquote>
  
  <p>Can anyone suggest another function to do this?<br>
  P.S I have tried this using lists too, but it gives the same error.</p>
  
  <p>The data frame consisting of 3 columns should be the first 3 columns in a CSV file, whereas the data frame with one column should be the fourth column in that file, when I write with the <code>write.table</code> function. The first 3 columns have 50 rows and the fourth column should occupy the first 10 rows.</p>