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]]

