I’m trying to use the the Matrix package to read a MatrixMarket formatted file, but I get back a ngTMatrix. I can’t convert it with as since there is no method for converting from ngTMatrix to dgCMatrix. Converting it to a non-sparse matrix isn’t an option as its too large.
Any suggestions?
I’m trying to use the the Matrix package to read a MatrixMarket formatted file,
Share
I’m not sure why you’re having a problem, because you can use
as()to coerce anngTMatrixto anngCMatrix: