[R] ignore an error and go back to ....

2009-08-27 Thread kathie
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,

Re: [R] ignore an error and go back to ....

2009-08-27 Thread jim holtman
Give us the example where 'try' did not work. Something like this should work while(){ 1 2 try.err - try(...code that might error) if (try.err, 'try-error') next 3 } On Thu, Aug 27, 2009 at 4:21 PM, kathiekathryn.lord2...@gmail.com wrote: Dear R users, is there way