Re: [R] What is the maximum size of a matrix?

2007-06-02 Thread Prof Brian Ripley
Thanks Marc. The information is in help(Memory-limits). We are aware that at some point we will need to raise this limit and have discussed ways to do so. But it is not going to be an issue for a while: working with 16Gb objects needs the sort of amount of memory that will not become common

Re: [R] What is the maximum size of a matrix?

2007-06-02 Thread Doran, Harold
Thanks for the clarification, Marc. Also, I should correct my error below. I wrote excel's limit is 16^2. But, it is 2^16 -1 -Original Message- From: Marc Schwartz [mailto:[EMAIL PROTECTED] Sent: Fri 6/1/2007 6:23 PM To: Doran, Harold Cc: Guanrao Chen; r-help@stat.math.ethz.ch Subject:

[R] What is the maximum size of a matrix?

2007-06-01 Thread Guanrao Chen
hi, Rers I tried to find out the max size (# of rows, # of columns) of a matrix that is allowed by R but failed. Can anybody let me know? Thanks! Guanrao __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] What is the maximum size of a matrix?

2007-06-01 Thread Benilton Carvalho
AFAIK, it only depends on how much free memory you have. b On Jun 1, 2007, at 5:05 PM, Guanrao Chen wrote: hi, Rers I tried to find out the max size (# of rows, # of columns) of a matrix that is allowed by R but failed. Can anybody let me know? Thanks! Guanrao

Re: [R] What is the maximum size of a matrix?

2007-06-01 Thread Doran, Harold
There is no maximum size. This will be driven by (at least) two issues. First, how much memory you have on your own computer and second what data you have in each cell. For instance, an integer takes less memory than a floating point. Other spreadsheet programs like excel limit the number of rows

Re: [R] What is the maximum size of a matrix?

2007-06-01 Thread Marc Schwartz
Harold, Actually there is a maximum size, even if one had sufficient memory. Since a matrix is a vector with a dim attribute, and these objects are indexed using integers, the maximum sized vector one 'could' create is: .Machine$integer.max [1] 2147483647 which is: 2^31 - 1 [1] 2147483647