what are the limits on R array sizes?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

what are the limits on R array sizes?

Mike Miller-20
I have some computers with a massive amount of memory, and I have some
jobs that could use very large matrix sizes.  Can R handle matrices of
larger than 2GB?  If I were to create a matrix of 1,000,000 x 1,000, it
would use about 8GB.  Can R work with an array of that size if I have
compiled R on an IA64 Linux system with 15GB of RAM?

Mike

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: what are the limits on R array sizes?

Brian Ripley
On Wed, 8 Feb 2006, Mike Miller wrote:

> I have some computers with a massive amount of memory, and I have some
> jobs that could use very large matrix sizes.  Can R handle matrices of
> larger than 2GB?  If I were to create a matrix of 1,000,000 x 1,000, it
> would use about 8GB.  Can R work with an array of that size if I have
> compiled R on an IA64 Linux system with 15GB of RAM?

Yes. See ?"Memory-limits".

help.search("limits") gets you there.

--
Brian D. Ripley,                  [hidden email]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html