Thanks for bringing me to, arr[R] Inferno Patrick, But I don't see how that solves my problem since I am not using a loop or any control structure but a construct of commands that follow each other. If all fails I might end up rewriting everything into a loop but right now I would hope for a command which forces R interpreter to move on to the next command line AND ignoring any error.
Thanks a lot, Nir On Thu, Aug 13, 2009 at 2:02 PM, Patrick Burns<pbu...@pburns.seanet.com> wrote: > 'The R Inferno' page 89. > > > Patrick Burns > patr...@burns-stat.com > +44 (0)20 8525 0696 > http://www.burns-stat.com > (home of "The R Inferno" and "A Guide for the Unwilling S User") > > 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! >> Nir >> >> ______________________________________________ >> 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. >> > ______________________________________________ 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.