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 version of R, 2.10.1, and I am currently
using the package sparseM. (I also use a 64 bit windows version)
SparseM
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) <- length(x) : invalid first argument
I never had this problem with previous versions of R.
I get the same error as you do when trying the example on the cited
help page using SparseM 0.83 in a 64 bit Mac version of 2.10.1
> A.csr %x% matrix(1:4,2,2)
Error in dim(x) <- length(x) : invalid first argument
> sessionInfo()
R version 2.10.1 RC (2009-12-09 r50695)
x86_64-apple-darwin9.8.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] grid splines stats graphics grDevices utils
datasets methods base
other attached packages:
[1] SparseM_0.83 Matrix_0.999375-32 Epi_1.1.10
plotrix_2.7-2 ROCR_1.0-4
[6] gplots_2.7.4 caTools_1.10 bitops_1.0-4.1
gdata_2.6.1 gtools_2.6.1
[11] lattice_0.17-26 Design_2.3-0 Hmisc_3.7-0
survival_2.35-7
loaded via a namespace (and not attached):
[1] cluster_1.12.1 tools_2.10.1
May you help me?
thanks
alessia
______________________________________________
--
Peter Ehlers
University of Calgary
403.202.3921
______________________________________________
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.