Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I'm trying to run some scripts through Rscrip.exe on Windows but everytime the script generates a warning (like if a library is compiled in a different version) the Execution halts. Is there a way to get Rscript to simply print the warning and continue? Most of the time the warnings are completely unimportant and I would really like the script to run to completion for once. I've tried various 'warn' levels, as well as wrapping the offending functions within TryCatch, but to no avail. I'm currently running with the following flags:

Rscript.exe --verbose --no-save --no-restore

Yet, I'm simply getting the cryptic 'Execution halted' message.

Any help you can provide would be greatly appreciated!

share|improve this question
What happens when you run the code in the R console? What warnings do you get? – Jonathan Christensen Jan 16 at 21:23

closed as off topic by whuber Jan 16 at 21:27

Questions on Cross Validated are expected to relate to statistics within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.