title: Creating a Large Matrix in ff
body: <p>I am trying to create a huge matrix in ff, and I know that ff is good for this sort of thing. </p>
  
  <p>But, there is a major problem. The dimensions of the matrix exceed .Machine$max_integer! I am running on a 64 bit machine, using 64bit R and 64bit ff. </p>
  
  <p>Is there any way to get around this problem? </p>
  
  <p>It's been suggested that R is using the MAXINT value from stdint.h. Is there any way to fix this without changing that file and possibly breaking build?</p>
  
  <pre><code>&gt; ffMatrix &lt;- ff(vmode="boolean", dim=c(300000,300000))
  Error in if (length &lt; 0 || length &gt; .Machine$integer.max) stop("length must be between 1 and .Machine$integer.max") : 
    missing value where TRUE/FALSE needed
  In addition: Warning message:
  In ff(vmode = "boolean", dim = c(300000, 300000)) :
    NAs introduced by coercion
  
  &gt; 300000**2 &gt; .Machine$integer.max
  [1] TRUE
  </code></pre>