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
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
2 matches
Mail list logo