[R] Matrix package: writeMM
quesada at gmail.com
Tue May 15 14:47:49 CEST 2007
I'm finding that readMM() cannot read a file written with writeMM().
a = Matrix(c(1,0,3,0,0,5), 10, 10)
a = as(a, "CsparseMatrix")
b = readMM("kk.mm")
Error in validObject(.Object) : invalid class "dgTMatrix" object: all row
indices must be between 0 and nrow-1
Jose Quesada, PhD.
More information about the R-help