Skip to content
Prev 85527 / 398506 Next

memory limit in aov

Lucy Crooks <Lucy.Crooks at env.ethz.ch> writes:
You do not want to use aov() on unbalanced data, and especially not on
large data sets if random effects are involved. Rather, you need to
look at lmer() or just lm() if no random effects are present. 

However, even so, if you really have 29025 parameters to estimate, I
think you're out of luck. 8 billion (US) elements is 64G and R is not
able to handle objects of that size - the limit is that the size must
fit in a 32 bit integer (about 2 billion elements).

A quick calculation suggests that your factors have around 8 levels
each. Is that really necessary, or can you perhaps collapse some
levels?