ok, thanks.

----- Original Message ----- 
From: "Roger D. Peng" <[EMAIL PROTECTED]>
To: "Pablo Yabo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 03, 2004 9:16 PM
Subject: Re: [R] Exeption handling


> Try looking at ?try or ?tryCatch in R.
>
> -roger
>
> Pablo Yabo wrote:
>
> > 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" <[EMAIL PROTECTED]>
> > To: "Pablo Yabo" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > 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
> >>>
> >>>______________________________________________
> >>>[EMAIL PROTECTED] mailing list
> >>>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >>>
> >>>
> >>
> >
> > ______________________________________________
> > [EMAIL PROTECTED] mailing list
> > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> >

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to