search for: do_isnan

Displaying 6 results from an estimated 6 matches for "do_isnan".

Did you mean: do_isna
2020 Jan 01
2
New R function is.nana = is.na & !is.nan
...----------+ | is.nana | f | t | R_IsNA +---------------------+ Strictly speaking, I am asking for a new R function: is.nana <- function(x) if (typeof(x)=="numeric") .Primitive("is.nana") else .Primitive("is.na") Then probably a copy of C function `do_isnan` as `do_isnana` with a minor change from `R_IsNaN` to `R_IsNA`. Best, Jan Gorecki
2005 Jun 17
1
(PR#7951) DispatchOrEval missing in do_isfinite and do_isinfinite
...; S4 method displacth does not work for the two generic functions >> 'is.finite' and 'is.infinite'. It turns out that the C functions >> 'do_isfinite' and 'do_isinfinite' in src/main/coerce.c are missing a >> call to 'DispatchOrEval' (see do_isnan). Added in the call fixed the >> problem. My functions no look like this: >> >> Form coerce.c: >> >> SEXP do_isfinite(SEXP call, SEXP op, SEXP args, SEXP rho) >> { >> SEXP ans, x, names, dims; >> int i, n; >> >> if (DispatchOrEva...
2020 Jan 02
1
New R function is.nana = is.na & !is.nan
...-----+ > > > > Strictly speaking, I am asking for a new R function: > > > > is.nana <- function(x) if (typeof(x)=="numeric") > > .Primitive("is.nana") else .Primitive("is.na") > > > > Then probably a copy of C function `do_isnan` as `do_isnana` with a > > minor change from `R_IsNaN` to `R_IsNA`. > > > > Best, > > Jan Gorecki > > > > ______________________________________________ > > R-devel at r-project.org mailing list > > > https://urldefense.proofpoint.com/v2/url?u=http...
2020 Jan 01
0
New R function is.nana = is.na & !is.nan
...IsNA > +---------------------+ > > Strictly speaking, I am asking for a new R function: > > is.nana <- function(x) if (typeof(x)=="numeric") > .Primitive("is.nana") else .Primitive("is.na") > > Then probably a copy of C function `do_isnan` as `do_isnana` with a > minor change from `R_IsNaN` to `R_IsNA`. > > Best, > Jan Gorecki > > ______________________________________________ > R-devel at r-project.org mailing list > https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Ddev...
2005 Jun 16
0
DispatchOrEval missing in do_isfinite and do_isinfinite (PR#7951)
...: (NULL) (207.66.36.189) Hi, S4 method displacth does not work for the two generic functions 'is.finite' and 'is.infinite'. It turns out that the C functions 'do_isfinite' and 'do_isinfinite' in src/main/coerce.c are missing a call to 'DispatchOrEval' (see do_isnan). Added in the call fixed the problem. My functions no look like this: Form coerce.c: SEXP do_isfinite(SEXP call, SEXP op, SEXP args, SEXP rho) { SEXP ans, x, names, dims; int i, n; if (DispatchOrEval(call, op, "is.finite", args, rho, &ans, 1, 1)) return(ans);...
2005 Jun 17
0
(PR#7951) DispatchOrEval missing in do_isfinite and
...Hi, > > S4 method displacth does not work for the two generic functions > 'is.finite' and 'is.infinite'. It turns out that the C functions > 'do_isfinite' and 'do_isinfinite' in src/main/coerce.c are missing a > call to 'DispatchOrEval' (see do_isnan). Added in the call fixed the > problem. My functions no look like this: > > Form coerce.c: > > SEXP do_isfinite(SEXP call, SEXP op, SEXP args, SEXP rho) > { > SEXP ans, x, names, dims; > int i, n; > > if (DispatchOrEval(call, op, "is.finite", args,...