Skip to content
Prev 310086 / 398506 Next

matrix.csr %*% matrix --> matrix

Thank you very much for your advice.

I do not think I use SparseM directly.
I use e1071::read.matrix.csr and e1071::write.matrix.csr which use SparseM.
I.e., I need to be able to do i/o on files which are palatable to
libsvm/liblinear, specifically, read/write files like
--8<---------------cut here---------------start------------->8---
1.2 2:3.5 6:5.1
2 4:6.7
8 7:6.6
--8<---------------cut here---------------end--------------->8---

As you can see from my other messages
(e.g., http://article.gmane.org/gmane.comp.lang.r.general:279387),
I am not happy with my current setup.
I would be delighted to learn that there is an alternative, but so far
the only matrix i/o I could find is Matrix::readHB and it does not
handle the libsvm/liblinear format.