I have a large programme that after running half an hour or so fails with an
error

Error in x[value] <- NA : only 0's may be mixed with negative subscripts

How can I find out where that error occurs?

If I have to do a binary search using error messages it will take a long
time!  Is there some way I can generate a stack trace?

cheers
Worik

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to