title: How to create data frame for super large vectors? ​
body: <p>I have 7 verylarge vectors, c1 to c7. My task is to simply create a data frame. However when I use <code>data.frame()</code>, error message returns.</p>
  
  <pre><code>&gt; newdaily &lt;- data.frame(c1,c2,c3,c4,c5,c6,c7)
  Error in if (mirn &amp;&amp; nrows[i] &gt; 0L) { : 
    missing value where TRUE/FALSE needed
  Calls: data.frame
  In addition: Warning message:
  In attributes(.Data) &lt;- c(attributes(.Data), attrib) :
    NAs introduced by coercion to integer range
  Execution halted
  </code></pre>
  
  <p>They all have the same length (2,626,067,374 elements), and I’ve checked there’s no NA. </p>
  
  <p>I tried subsetting 1/5 of each vector and <code>data.frame()</code> function works fine. So I guess it has something to do with the length/size of the data? Any ideas how to fix this problem? Many thanks!!</p>
  
  <hr>
  
  <p><em>Update</em>
  both data.frame and data.table allow vectors shorter than 2^31-1. Stil can't find the solution to create one super large data.frame, so I subset my data instead... hope larger vectors will be allowed in the future.</p>