Dear R users,

is there way to ignore an error and go back to 1st line?

I mean,


#-------------------------------

while (or repeat) ------------
{
        1
        2
        .
        .
        .
        6 
}

#-----------------------------

For example, if I have an error in the 6th line, then I'd like to go back to
the 1st line.

I've already tried "try", but it didn't work.


Any suggestion will be greatly appreciated.

Regards,

Kathryn Lord 
-- 
View this message in context: 
http://www.nabble.com/ignore-an-error-and-go-back-to-....-tp25179265p25179265.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to