Em Qua 16 Nov 2005 11:30, jim holtman escreveu: > What do you mean by 'abort'? Does an 'error' occur that you want to catch? > If so, look at 'try'. Otherwise if it is testable, then just test for the > condition and restart. >
Hi, this is not a real error, is a situation whitout a resolution. Is, I try to test the condition and restart, but how to restart all? Matthias suggest the use of initialize, I dont undertande how to use this. I try this: myfunction <- function(...) { ## Init of function ... for(i in test) { ... while(j <= test2) { ... test3 <- make a test if(test3 == error) { myfunction(...) } } } } This is the best way to make this? In this case I need to put all arguments initialized in function(...) on the myfunction(...) . Thanks Ronaldo -- Faça algo à prova de idiotas e alguém fará um idiota melhor. -- |> // | \\ [***********************************] | ( õ õ ) [Ronaldo Reis Júnior ] |> V [UFV/DBA-Entomologia ] | / \ [36570-000 Viçosa - MG ] |> /(.''`.)\ [Fone: 31-3899-4007 ] | /(: :' :)\ [EMAIL PROTECTED] ] |>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ] | ( `- ) [***********************************] |>> _/ \_Powered by GNU/Debian Woody/Sarge ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html