Re: [R] R memory limits on table(x, y) (and bigtabulate)

2017-07-03 Thread David Winsemius
Yes. Table and matrix size limits are set by the max.integer size which is fixed at what can be represented with 4 bytes. David Sent from my iPhone > On Jul 3, 2017, at 8:04 AM, Bert Gunter wrote: > > Sorry, don't know enough to give you trustworthy answers, but I can > say that crashes due

Re: [R] R memory limits on table(x, y) (and bigtabulate)

2017-07-03 Thread Bert Gunter
Sorry, don't know enough to give you trustworthy answers, but I can say that crashes due to (or linked to) packages should usually be reported to the package maintainer, who can be found by the ?maintainer function. That person may not monitor this list. Cheers, Bert Bert Gunter "The trouble w

[R] R memory limits on table(x, y) (and bigtabulate)

2017-07-03 Thread Robert Zimbardo
I have two character vectors x and y that have the following characteristics: length(x) # same as length(y) # 872099 length(unique(x)) # 47740 length(unique(y)) # 52478 I need to crosstabulate them, which would lead to a table with 47740*52478 # 2505299720 cells, which is more than 2^31 # 2