Re: [R] matrix size

From: roger koenker <roger_at_ysidro.econ.uiuc.edu>
Date: Mon 01 Jan 2007 - 23:24:10 GMT

On Jan 1, 2007, at 4:43 PM, Armelini, Guillermo wrote:

> Hello everyone
> Could anybody tell me how to set the following matrix?
>
> n2<-matrix(nrow=10185,ncol=10185,seq(0,0,length=103734225))

You can use:

library(SparseM)
as.matrix.coo(0,10185,10185)

but then you need to find something interesting to do with such a boring matrix...

>
> R answer was
> Error: cannot allocate vector of size 810423 Kb
>
> Are there any solution? I tried to increase the memory size but it
> didn't work
> G
>
>
>
> This message has been scanned for viruses by TRENDMICRO,\ an...
> {{dropped}}
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.



R-help@stat.math.ethz.ch 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. Received on Tue Jan 02 10:28:18 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 02 Jan 2007 - 00:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.