I have an Rscript I would like to run. It takes a very long time to run (took about 23 hours on a 64gb 32 node cluster). It keeps running into an error at this time. My boss told me to run the script locally on my macbook 4gb ram and use options(error=recover). This would stop the code at the error but allow me to enter R at the point of error and play around? Is that correct?
Anyways, I tried using Rscript options(error=recover) /path/to/file.R
but I got can error -bash: syntax error near unexpected token "("
. What is the proper syntax? I can't find it online...