Peng Yu
2010-Feb-01 04:13 UTC
[R] How to globally enable warning messages or stop the program if NA is encountered?
By default, my R functions run silently if NA is encountered? I would like them to give me some message when NA is encountered by default. Note that I could check each intermediate variable by something like is.na(). But this is not manageable for big programs, so I'd like a way to check NA globally.