[R] Exeption handling

Pablo Yabo pyabo at 2vias.com.ar
Sun Jan 4 00:36:31 CET 2004


but try is a C keyword, I writing code in R.
I need something like a try / catch block in C, but written in R.

----- Original Message ----- 
From: "Spencer Graves" <spencer.graves at pdf.com>
To: "Pablo Yabo" <pyabo at 2vias.com.ar>
Cc: <r-help at stat.math.ethz.ch>
Sent: Saturday, January 03, 2004 8:07 PM
Subject: Re: [R] Exception handling


> have you considered "try"?  hope this helps.  spencer graves
>
> Pablo Yabo wrote:
>
> >Hi,
> >I want to know if it's possible to prevent that a stop call stops my
> >program.
> >I want to call a function that can fail calling a stop. But in that case
I
> >want to keep the control and do something else, not stop the program and
> >print a message.
> >Is that possible?
> >
> >Thanks, in advance
> >
> >Pablo Yabo
> >
> >______________________________________________
> >R-help at stat.math.ethz.ch mailing list
> >https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >
> >
>




More information about the R-help mailing list