[R] Running an error-prone R script using 'source' command

Nir Shachaf nirshachaf at gmail.com
Thu Aug 13 09:21:47 CEST 2009

Hi All,

I am running a semi-stable algorithms from an R script file using 'source'.

At a certain point one of the algorithms will most probably return an error
and crash the run.

What I would like to do is to make [R] keep running and just skip to the
next command line in the external script file...

I have tried using 'try' 'tryCatch' blocks and 'dump.frames' without success.


More information about the R-help mailing list