Re: [R] un run run...

2009-08-14 Thread Tony Plate
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 par

Re: [R] un run run...

2009-08-14 Thread jim holtman
e may be able to say what >> the experiment died of. >> ~ Sir Ronald Aylmer Fisher >> >> The plural of anecdote is not data. >> ~ Roger Brinner >> >> The combination of some data and an aching desire for an answer does not >> ensure that a reasona

Re: [R] un run run...

2009-08-14 Thread Nir Shachaf
ta and an aching desire for an answer does not > ensure that a reasonable answer can be extracted from a given body of data. > ~ John Tukey > > -Oorspronkelijk bericht----- > Van: Nir Shachaf [mailto:nirshac...@gmail.com] > Verzonden: donderdag 13 augustus 2009 11:37 > A

Re: [R] un run run...

2009-08-14 Thread Nir Shachaf
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 comma

Re: [R] un run run...

2009-08-13 Thread ONKELINX, Thierry
Here is an example in pseudo code. Instead of Object <- function that can generate error Other things to do Do something like Object <- try(function that can generate error) if(class(Object) == "try-error"){ things to do when an error occures } else { other things to do } HTH,