Skip to content
Prev 35240 / 63421 Next

reshape() makes R run out of memory (PR#14121)

There's also ninteraction in the plyr package, which has been designed
to generate a unique integer for each combination (while maintaining
the original order of the data and any missing combinations) as
efficiently as possible.  It's much faster than interaction(..., drop
= T) and I hope it would be faster than paste since it works with
integers rather than strings.

Hadley