You might want to handle all unexpected situations in your code doing something like options(error=recover)
and options(warn=2)
in your .Rprofile
. That is a good thing.
Just be sure to do it after your system is initialized, because if you don’t then you are sure to kill your startup!