search for: r_ismissing

Displaying 2 results from an estimated 2 matches for "r_ismissing".

Did you mean: dismissing
2009 Mar 16
1
Using and 'eval' and environments with active bindings
...ew.env() makeActiveBinding("x", f, e) eval(substitute(list(x)), e) The error, after calling 'eval' is Error in eval(expr, envir, enclos) : element 1 is empty; the part of the args list of 'list' being evaluated was: (x) It has something to do with the change in R_isMissing in revision r48118 but I'm not quite knowledgeable enough to understand what the problem is. In R 2.8.1 the result was simply > eval(substitute(list(x)), e) [[1]] [1] 2 I can't say I know what the output should be but I'd like some clarification on whether this is a bug. Thanks,...
2010 Aug 21
1
Speed improvement to evalList
...an incorrect context")); } else if (CAR(el) == R_MissingArg) { /* It was an empty element: most likely get here from evalArgs which may have been called on part of the args. */ errorcall(call, _("argument %d is empty"), n); } else if (isSymbol(CAR(el)) && R_isMissing(CAR(el), rho)) { /* It was missing */ errorcall(call, _("'%s' is missing"), CHAR(PRINTNAME(CAR(el)))); } else { if (mode==1) { PROTECT(head); mode = 2; } ev = CONS(eval(CAR(el), rho), R_NilValue);...