Re: [R] sparseM and kronecker product_R latest version

2010-01-12 Thread Martin Maechler
am == alessia matano alexis@gmail.com on Mon, 11 Jan 2010 16:20:57 +0100 writes: am Many thanks for it. am However it is strange that when I put the numbers rather than ncol(R) am (a matrix with ncol=36698) it worked. Look below dim(res2) am [1] 170471 25822

Re: [R] sparseM and kronecker product_R latest version

2010-01-12 Thread alessia matano
I see, now I got it. and thanks for the example with matrix. best alessia 2010/1/12 Martin Maechler maech...@stat.math.ethz.ch: am == alessia matano alexis@gmail.com     on Mon, 11 Jan 2010 16:20:57 +0100 writes:    am Many thanks for it.    am However it is strange that when I put the

[R] sparseM and kronecker product_R latest version

2010-01-11 Thread alessia matano
Dear all, I just installed the new version of R, 2.10.1, and I am currently using the package sparseM. (I also use a 64 bit windows version) I got a problem that I never had: when I try to multiply with a kronecker product (%x%) two sparse matrixes I get the following message: Error in dim(x) -

Re: [R] sparseM and kronecker product_R latest version

2010-01-11 Thread Peter Ehlers
Do you have the same problem with the example on the help page? ?'%x%-methods' Works for me on Windows Vista (32-bit OS) and R version 2.10.1 Patched (2010-01-05 r50896). -Peter Ehlers alessia matano wrote: Dear all, I just installed the new version of R, 2.10.1, and I am currently using

Re: [R] sparseM and kronecker product_R latest version

2010-01-11 Thread David Winsemius
On Jan 11, 2010, at 7:55 AM, Peter Ehlers wrote: Do you have the same problem with the example on the help page? ?'%x%-methods' Works for me on Windows Vista (32-bit OS) and R version 2.10.1 Patched (2010-01-05 r50896). -Peter Ehlers alessia matano wrote: Dear all, I just installed the

[R] sparseM and kronecker product_R latest version

2010-01-11 Thread alessia matano
Dear all, I just installed the new version of R, 2.10.1, and I am currently using the package sparseM. (I also use a 64 bit windows version) I got a problem that I never had: when I try to multiply with a kronecker product (%x%) two sparse matrixes I get the following message: Error in dim(x) -

Re: [R] sparseM and kronecker product_R latest version

2010-01-11 Thread alessia matano
Many thanks for your suggestions, fortunately when I closed R and opeedn it again, it did not give again that error. However, now there is something more strange happening, related again to sparse matrix, and I am afraid it could concern memory problems (I put 4000 of memory limit). I am

Re: [R] sparseM and kronecker product_R latest version

2010-01-11 Thread Martin Maechler
am == alessia matano alexis@gmail.com on Mon, 11 Jan 2010 15:38:39 +0100 writes: am Many thanks for your suggestions, am fortunately when I closed R and opeedn it again, it did not give again am that error. However, now there is something more strange happening, am

Re: [R] sparseM and kronecker product_R latest version

2010-01-11 Thread alessia matano
Many thanks for it. However it is strange that when I put the numbers rather than ncol(R) (a matrix with ncol=36698) it worked. Look below dim(res2) [1] 170471 25822 D- as.matrix.csr(0,nrow(tmpb),25822) D- as.matrix.csr(0,nrow(tmpb),ncol(res2)) Error in if (length(x) == nrow * ncol) x -

Re: [R] sparseM and kronecker product_R latest version

2010-01-11 Thread David Winsemius
I had an earlier problem where cutting and pasting from a help window caused obscure problems. Prof Ripley suggested trying example() and that did show that the example on the help page worked. I just ran example(`%x%`), as well as example(matrix.csr) and encountered no errors. I also

Re: [R] sparseM and kronecker product_R latest version

2010-01-11 Thread Roger Koenker
I can't reproduce this on my mac: sessionInfo() R version 2.10.1 (2009-12-14) x86_64-apple-darwin9.8.0 locale: [1] C attached base packages: [1] graphics grDevices datasets utils stats methods base other attached packages: [1] fortunes_1.3-7 quantreg_4.44 SparseM_0.83