Re: [R] Error in eval.with.vis(expr, envir, enclos) : subscript out of bounds

2010-12-08 Thread jim holtman
A good time to learn how to debug R scripts. There are several references and you might start with the 'debug' package and setting options(error=utils::recover) so that when the error occurs, you get placed in the 'browser' and can look around to see what the problem is. I would assume that you

[R] Error in eval.with.vis(expr, envir, enclos) : subscript out of bounds

2010-12-07 Thread Joonas - as_trix85
I have a for-loop in my code that calls another .R file: source("estimation.R") This file runs through without any problems, so the program completes the loop one time. However, when the loop starts a second time and it comes time to call the file "estimation.R" again, program stops and prints