Rf_error is used so often in R itself and packages that it is almost
certainly not the problem -- rather something else your program has done
has damaged R's internals (e.g. overrrun an array).
'Writing R Extensions' discusses how to debug R code, including foreign
code. For example, I would
Switching all of my printfs to Rprintf fixed the problem the errors now
proceed correctly. I was unable to reproduce the error, but now that is
irrelevant, at least to me. Thanks for the help.
-Andrew
[[alternative HTML version deleted]]
__
R-
On 28/07/2008 6:41 PM, Andrew Redd wrote:
I'm having a problem with the error and warning functions. I've tried this
on multiple machine so I'm fairly sure it's not machine dependent and I've
tried it on the latest versions 2.6.0-2.7.1. Whenever my program gets to an
error or warning it crashes
I'm having a problem with the error and warning functions. I've tried this
on multiple machine so I'm fairly sure it's not machine dependent and I've
tried it on the latest versions 2.6.0-2.7.1. Whenever my program gets to an
error or warning it crashes the entire program rather than throwing the
4 matches
Mail list logo