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

Doran, Harold HDoran at air.org
Fri Jun 1 23:36:15 CEST 2007

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 to 16^2
irrespective of memory, but that is not true here.


> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Guanrao Chen
> Sent: Friday, June 01, 2007 5:06 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] What is the maximum size of a matrix?
> 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 at 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.

More information about the R-help mailing list