Matrix package bug?
1
0
Entering edit mode
@arnemuellernovartiscom-2205
Last seen 8.5 years ago
Switzerland
Hello, I'm using R 3.0.0 and trying to construct a fairly large sparse matrix with the Matrix package (40,567 columns and 64,323 rows ) and get the following error: Error in asMethod(object) : negative length vectors are not allowed Could this be an overflow problem, I thought R 3 would support long indices? I works fine with smaller matrices and also works as an ordinary non-sparse matrix. Are there alternatives that support large matrices? Regards, Arne [[alternative HTML version deleted]]
• 1.2k views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 3 days ago
United States
On 08/14/2013 02:25 AM, Mueller, Arne wrote: > Hello, > > I'm using R 3.0.0 and trying to construct a fairly large sparse matrix with the Matrix package (40,567 columns and 64,323 rows ) and get the following error: > > Error in asMethod(object) : negative length vectors are not allowed > > Could this be an overflow problem, I thought R 3 would support long indices? I works fine with smaller matrices and also works as an ordinary non-sparse matrix. Are there alternatives that support large matrices? > it looks to me like a bug in Matrix -- R itself supports long vectors, but packages need to be updated to do so. The right place to report this is to packageDescription("Matrix")$Maintainer with a (simple) reproducible example and sessionInfo() so that your problem is unambiguous. Martin > Regards, > > Arne > > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M1 B861 Phone: (206) 667-2793
ADD COMMENT

Login before adding your answer.

Traffic: 867 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6