That was an amusing bug.
I wish I had time to help more directly with this project, which has
been very helpful to me.
Frederick
On Thu, Feb 25, 2016 at 08:04:40PM +0100, peter dalgaard wrote:
> In case you still care, see
>
> https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16726
>
> whic
Generating a model matrix with very large numbers of columns overflows
the stack and/or runs very slowly, due to the implementation of
TrimRepeats().
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