Skip to contents

Avoid the following error . Error in asMethod(object) : . Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, the code comes from https://xuzhougeng.top/archives/R-Sparse-Matrix-Note

Usage

as_matrix(mat)

Arguments

mat

a big sparse matrix of a type coercible to dense Matrix::Matrix

Value

a matrix