title: Force stop or halt on error
body: <p>I was wondering if anyone knew of a good way to get R or ESS to stop executing the rest of the code beyond the point at which an error occurs if I am evaluating a region or buffer (I've only found the opposite request in the help archives). I was looking in the R help files but <code>option(error=stop)</code> will only stop execution of the offending function or statement but not those that follow it. Thanks!</p>