I am trying to run an R script on the command line and I want it to keep running even when there is an error. Is there a flag I can add to tell R to keep running through the script even when it encounters an error?
Right now it just halts execution when there is an error.
I also don't want to use methods like "try()" to wrap around the error lines because I have way too many of them and it's not possible for me to go through thousands of lines of code to catch all the error lines. I just want R to skip through the error lines when encountering them. Is there a way to do so?
Thank you!