Re: [R] stop at error point in for-loop

2012-10-14 Thread Jeff Newmiller
options(error = recover) --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing

[R] stop at error point in for-loop

2012-10-14 Thread mrzung
hi all: Following is simple example, for(i in 1:1000){ 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,