title: Error in cv.glmnet
body: <p>I am using the following code getting the error message in R version 2.13.1. in mac.</p>
  
  <p><code>cv.glmnet(dsgn.mat,resp,family="gaussian",nfolds=5)</code></p>
  
  <pre><code>Error in as.matrix(cbind2(1, newx) %*% nbeta) : 
  error in evaluating the argument 'x' in selecting a method for function 'as.matrix': Error in t(.Call(Csparse_dense_crossprod, y, t(x))) : 
  error in evaluating the argument 'x' in selecting a method for function 't': Error: invalid class 'NA' to dup_mMatrix_as_dgeMatrix
  </code></pre>
  
  <p>I should mention that there is no message if I use only <code>glmnet</code> then it is working fine.</p>