title: R making a matrix of logical matrices
body: <p>I've been trying to make a 1 row matrix that has logical matrices in each of the columns, but haven't been having very much luck.  I tried a for loop:</p>
  
  <pre><code>mat&lt;-matrix(NULL,nrow=1,ncol=60)
  for(i in 1:60){mat&lt;-list(mat,matrix(FALSE,nrow=4,ncol=4))}
  </code></pre>
  
  <p>That produced a 4x4 matrix with weird sized submatrices.</p>
  
  <pre><code>mat&lt;-matrix(NULL,n=row=1,ncol=60)
  for(i in 1:60){mat[i]&lt;-matrix(FALSE,nrow=4,ncol=4)}
  </code></pre>
  
  <p>That produced a NULLxNULL matrix with 60 FALSEs.</p>