[R] How many records could I store in a dataframe?

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Sep 17 17:05:22 CEST 2004

wanr at ucalgary.ca wrote:

> Hi all,
> I have a dataframe with 2 variables and 6,000,000 records. It seems R will 
> crash when the number of record is larger than 3,000,000. How many records 
> could I store in a dataframe

Which version of R, which OS?
I don't think that R crashes, but it produces an error message telling 
that the amount of free memory R has access to is not sufficient.

If it really crashes, please specify a reproducible example.

In theory, if you have access to enough memory, I think something like 
2^32-1, AFAIR.

Uwe Ligges

> Rui
> ______________________________________________
> 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

More information about the R-help mailing list