Hacker News new | ask | show | jobs
by bachmeier 3820 days ago
> Lots of things in R proceed without stopping on errors

I'm not sure what that means, because a default R installation will always stop on an error.

> a Factor is also the bizarre result you get if you load a flat file incorrectly

That's user error. No programming language can catch that - it can only detect errors that are defined as errors.

1 comments

I am curious to know your opinion about this discussion, then: http://r.789695.n4.nabble.com/Stopping-all-code-execution-wh...

People using default R installations report that special commands are needed to make it stop on all errors. Are they delusional? What about the R experts who give them solutions, are they doling out placebos?

The poster in that thread was doing the equivalent of stepping line by line through a block of code manually, ignoring all of the errors and manually executing the next line anyway.