Hello all,

I am trying to write a program in R in which I call a function multiple
times within a loop.  The problem is that sometimes the function breaks down
while calling another function, and produces an error message that breaks my
loop and the program stops.  I would like to keep the loop running when this
function breaks down, and just move on to the next iteration in the loop.
Is there any way to buffer the output of a function within the loop, so that
I can note that the function produced an error message, without the error
message breaking the loop and stopping my program?  Let me know if this
question does not make sense.

Thanks,
Patrick

	[[alternative HTML version deleted]]

