[R] Error Catching?

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Thu Jun 4 20:03:58 CEST 2009


On Thu, Jun 4, 2009 at 6:56 PM, Brigid Mooney <bkmooney at 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




More information about the R-help mailing list