[R] un run run...
tplate at acm.org
Fri Aug 14 21:45:36 CEST 2009
You could try setting options(error=function() NULL). This should cause R in batch mode to continue running after an error (the same way it does in interactive mode.)
-- Tony Plate
Nir Shachaf wrote:
> Hi All,
> I am running an Rscript with a bunch of algorithms that are UNSTABLE
> under some parameter settings.
> At a certain point one of them sends error massage and my whole run STOPS!
> What I would like is to save the error massage in some file or variable and
> carry on to the next command line without stopping this run...
> Any help or ideas would be welcome, please, with a concrete example
> (not just - "have you thought of using 'tryCatch' etc.).
> Thanks all!
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help