[R] unprotect(): stack imbalance

Duncan Murdoch murdoch at stats.uwo.ca
Sat Jun 25 04:48:50 CEST 2005


Omar Lakkis wrote:
> Error in "[<-.data.frame"(`*tmp*`, j, "signal", value = 1) : 
>         unprotect(): stack imbalance
> 
> What could have geerated this error? Where should I start looking?

That's a bug in the C code.  Try to make it reproducible, then simplify 
it as much as you can.  (If it only happens for certain random inputs, 
use set.seed() to make it reproducible.)  If it happens in code that's 
in a contributed package, send it to the maintainer.  If it happens in 
base R code, post it here.

Duncan Murdoch




More information about the R-help mailing list