[R] How to still processing despite bug errors?

Hugo Mildenberger Hugo.Mildenberger at web.de
Mon Jan 17 22:19:29 CET 2011

Altay, simply run your tests under control of an exception handler:


On Monday 17 January 2011 22:05:07 Altay wrote:
> Hi, everybody.
> I am working  processing EEG data from 1000 pacients. I have a specific
> syntax to perform the Spectral Analysis and a loop to analyse all subjects.
> each subject data are in separate folders (P1, P2 P3...)
> My question is: in some cases, some errors can appear in one subject. I want
> to know if is possible to jump to the next subject and perform the same
> syntax , exibiting an error like:
> Working on P1
> Error "X" in P1
> Working on P2...
> The idea is to let the computer processing continuosly all the subjects and
> at the end only see the problems in the subjects that R could not perform
> the analysis.
> Each Subject takes 20 minutes to perform the analysis and I don't want to
> stay days in front of PC, waiting for the next error in order to start the
> syntax again with the next subject.
> Any ideas?
> Thanks in Advance.
> Altay Lino de Souza.
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at 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.

More information about the R-help mailing list