
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 the following error message:
"Error in eval.with.vis(expr, envir, enclos) : subscript out of bounds"
 
This happens every time I try to run the program. What could cause it?
 
  		 	   		  
	[[alternative HTML version deleted]]

