On Thu, 21 Jun 2007, Martin Morgan wrote:
> Yes, that seems to do the trick, for both seg fault and valgrind!
> Thanks very much.
Thanks: this and a similar one elsewhere seem long-standing bugs in bind.c
Will commit shortly.
>
> Martin
>
> Prof Brian Ripley <[EMAIL PROTECTED]> writes:
>
>> I th
Yes, that seems to do the trick, for both seg fault and valgrind!
Thanks very much.
Martin
Prof Brian Ripley <[EMAIL PROTECTED]> writes:
> I think it needs to be
>
> case LISTSXP:
> PROTECT(u = coerceVector(u, mode));
> k = LENGTH(u);
>
I think it needs to be
case LISTSXP:
PROTECT(u = coerceVector(u, mode));
k = LENGTH(u);
idx = (!isMatrix(u)) ? rows : k;
for (i = 0; i < idx; i++)
SET_VECTOR_ELT(result, n++,
To amend, the traceback is only
> Traceback:
> 1: cbind(probe, gb)
> aborting ...
Oops. Martin
Martin Morgan <[EMAIL PROTECTED]> writes:
> The following code results in a seg fault.
>
>> sessionInfo()
> R version 2.6.0 Under development (unstable) (2007-06-21 r42013)
> x86_64-unknown-linux-gn
The following code results in a seg fault.
> sessionInfo()
R version 2.6.0 Under development (unstable) (2007-06-21 r42013)
x86_64-unknown-linux-gnu
locale:
LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=en_US;LC_COLLATE=en_US;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=C;LC_ADDRESS=C;LC_TE