Displaying 1 result from an estimated 1 matches for "translate_sql".
2017 Mar 04
5
can we override "if" in R?
I'm just curious. Why making "if" generic is even more dangerous?
Best,
Da
On Sat, Mar 4, 2017 at 1:22 PM, G?bor Cs?rdi <csardi.gabor at gmail.com> wrote:
> `!` is a generic, `if` is not. You can define an `if` that is generic,
> but this might be even more dangerous....
>
> ? `if` <- function(a, b, c) UseMethod("if")
> ? `if.default` <-