[Rd] [patch] Support many columns in model.matrix
kmillar at google.com
Sat Feb 27 00:58:20 CET 2016
Generating a model matrix with very large numbers of columns overflows
the stack and/or runs very slowly, due to the implementation of
This patch modifies it to use Rf_duplicated() to find the duplicates.
This makes the running time linear in the number of columns and
eliminates the recursive function calls.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2182 bytes
Desc: not available
More information about the R-devel