[R] stop at error point in for-loop

mrzung mrzung46 at gmail.com
Sun Oct 14 06:13:29 CEST 2012


hi all:

Following is simple example,

for(i in 1:10000000){
a<-function(i){
#some function that has an error
}
}

What I want to know is the way to find the error point in for-loop, What "i"
makes the error.

is there any way to solve it instead of debugging and finding an error
manually?

Thanks,





--
View this message in context: http://r.789695.n4.nabble.com/stop-at-error-point-in-for-loop-tp4646115.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list