On Thu, Jun 4, 2009 at 6:56 PM, Brigid Mooney <bkmoo...@gmail.com> wrote:
> Hi,
>
> Is there an easy way to "catch" errors, in order to arrange for
> r-scripts to exit gracefully?
>
> I'm thinking of something along the lines of using is.na with an
> if/else statement, but for errors.
>

 Try 'try'.

Barry

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to