title: Adding a vector as a new column to a dataframe
body: <p>MyDataframe is a dataframe which has 7 columns now of the character, numeric and date data types. The dataframe has 300,000 rows. </p>
  
  <p>I need to have a vector as a new field for each row of the data table. I need the vector to have 1440 zeros initially. Let's call this MyVector.</p>
  
  <p>If I try this:</p>
  
  <blockquote>
    <p>MyDataframe$MyVector = numeric(1440)</p>
  </blockquote>
  
  <p>I get an error message saying that the number of rows in the dataframe dont match the length of the vector. This tells me that R is trying to add the whole vector as a column in the dataframe. </p>
  
  <p>How do I add the vector, so that each row of the dataframe will have a vector as a member?</p>