[R] read.matrix.csr bug (e1071)?

2005-01-29 Thread David Meyer
This is a bug, thanks for pointing this out. Fixed for the next release of e1071. David - Hello, I would like to read and write sparse matrices using the functions write.matrix.csr() and read.matrix.csr() of the package e1071. Writing is OK but reading back the matrix fails:

[R] read.matrix.csr bug (e1071)?

2005-01-28 Thread Jeszenszky Peter
Hello, I would like to read and write sparse matrices using the functions write.matrix.csr() and read.matrix.csr() of the package e1071. Writing is OK but reading back the matrix fails: x - rnorm(100) m - matrix(x, 10) m[m 0.5] - 0 m.csr - as.matrix.csr(m)

Re: [R] read.matrix.csr bug (e1071)?

2005-01-28 Thread roger koenker
Don't you want read.matrix.csr not read.matrix? url:www.econ.uiuc.edu/~rogerRoger Koenker email [EMAIL PROTECTED] Department of Economics vox:217-333-4558University of Illinois fax:217-244-6678

Re: [R] read.matrix.csr bug (e1071)?

2005-01-28 Thread Jeszenszky Peter
On Fri, 28 Jan 2005, roger koenker wrote: Don't you want read.matrix.csr not read.matrix? Sorry for the mistake, the error is caused by the line read.matrix.csr(~/data/sparse.dat) __ R-help@stat.math.ethz.ch mailing list