search for: cholmod_dense

Displaying 1 result from an estimated 1 matches for "cholmod_dense".

2012 Aug 31
1
using apply with sparse matrix from package Matrix
Hi: I was trying to use apply on a sparse matrix from package Matrix, and I get the error: Error in asMethod(object) : Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 106 Is there a way to apply a function to all the rows without bumping into this problem? Here is a simplified example: > dim(sm) [1] 72913 43052 > class(sm) [1] "dgCMatrix" attr(,"package") [1] "Matrix" > str(sm) Formal class 'dgCMatrix'...