Re: [Rd] missing PROTECT() in src/main/arithmetic.c

2013-07-13 Thread luke-tierney
Thanks -- fixed in 63290 (trunk) and 63291 (patched). luke On Fri, 12 Jul 2013, Hervé Pagès wrote: at lines 651 & 653 (integer_binary function): if (code == DIVOP || code == POWOP) ans = allocVector(REALSXP, n); else ans = allocVector(INTSXP, n); There are calls to warnin

[Rd] missing PROTECT() in src/main/arithmetic.c

2013-07-13 Thread Radford Neal
> From: Herv? Pag?s > at lines 651 & 653 (integer_binary function): > > if (code == DIVOP || code == POWOP) > ans = allocVector(REALSXP, n); > else > ans = allocVector(INTSXP, n); > > There are calls to warningcall() later in the function, which can > trigger garbbag

[Rd] missing PROTECT() in src/main/arithmetic.c

2013-07-12 Thread Hervé Pagès
at lines 651 & 653 (integer_binary function): if (code == DIVOP || code == POWOP) ans = allocVector(REALSXP, n); else ans = allocVector(INTSXP, n); There are calls to warningcall() later in the function, which can trigger garbbage collection. Looks like the typical scena