Re: [R] SparseM buglet

2012-08-26 Thread David Meyer
Thanks to all for routing this to me - fixed upstream. David Original Message Subject: forwarded message from Roger Koenker Date: Sat, 25 Aug 2012 17:12:04 +0200 From: Kurt Hornik Reply-To: kurt.hor...@wu.ac.at To: David Meyer --- Begin Message --- Sam, Thanks for point

Re: [R] SparseM buglet

2012-08-24 Thread Roger Koenker
Sam, Thanks for pointing this out, but I have to point out in turn that this isn't a SparseM function, it is part of the package e1071, maintained by David Meyer. Roger Roger Koenker rkoen...@illinois.edu On Aug 24, 2012, at 3:07 PM, Sam Steingold wrote: > read.matrix.csr does not close

[R] SparseM buglet

2012-08-24 Thread Sam Steingold
read.matrix.csr does not close the connection: > library('SparseM') Package SparseM (0.96) loaded. > read.matrix.csr(foo) ... Warning message: closing unused connection 3 (foo) > -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://

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 : >> "am" == alessia matano >>     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)

Re: [R] sparseM and kronecker product_R latest version

2010-01-12 Thread Martin Maechler
> "am" == alessia matano > 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 >> D

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

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 tr

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 Martin Maechler
> "am" == alessia matano > 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> related ag

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 defining

[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 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 new

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 th

[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

2008-08-27 Thread Heike Pospisil
Hi Sam, thank your for your reply. The lib location statement is correct. I have installed SparseM locally because I do not have su rights. Best, Heike (BTW: An installation by our systems administrator into the R directory did not work, too.) On Wednesday 27 August 2008 19:00, Samuel Bächle

Re: [R] SparseM

2008-08-27 Thread Samuel Bächler
Hi Heike library(SparseM,lib.loc=my.lib.loc) Error in packageDescription(pkg)$Version : $ operator is invalid for atomic vectors In addition: Warning message: In packageDescription(pkg) : no package 'SparseM' was found Error : .onLoad failed in 'loadNamespace' for 'SparseM' Error: package/n

[R] SparseM

2008-08-27 Thread Heike Pospisil
Hello, I am trying to load the package SparseM. It seems that I have successfully installed SparseM (version 0.78), but I did not succeed in loading the SparseM package into R 2.7. Does anybody know a trick for loading SparseM? Thanks in advance, Heike > library(SparseM,lib.loc=my.lib.loc) E