search for: deparse1line

Displaying 3 results from an estimated 3 matches for "deparse1line".

2007 Apr 08
1
buglet in terms calculations
...n) which fails for the reasons given. One way to get around this, might be to modify the do_termsform code, right now we have: PROTECT(varnames = allocVector(STRSXP, nvar)); for (v = CDR(varlist), i = 0; v != R_NilValue; v = CDR(v)) SET_STRING_ELT(varnames, i++, STRING_ELT(deparse1line(CAR(v), 0), 0)); and then for term.labels, we copy over the varnames (with :, as needed) and perhaps we need to save the unquoted names somewhere? Or is there some other approach that will get us there? Certainly cleaning up the names via cleanTick = function(x) gsub("`",...
2024 Feb 20
1
Bug in comparison of language objects?
I noticed the following odd behaviour today: exprs <- expression( mean(a), mean(b), { a }, { b } ) exprs[[1]] == exprs[[2]] #> [1] FALSE exprs[[3]] == exprs[[4]] #> [1] TRUE Does it make sense to anyone that the argument passed to `mean` matters, but the expression contained in braces doesn't? Duncan Murdoch
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...model.o cc-1552 c89: WARNING File = model.c, Line = 280 The variable "tmp" is set but never used. unsigned tmp; ^ cc-1185 c89: WARNING File = model.c, Line = 909 An enumerated type is mixed with another type. SET_STRING_ELT(varnames, i++, STRING_ELT(deparse1line(CAR(v), 0), 0)); ^ cc-1552 c89: WARNING File = model.c, Line = 739 The variable "abb" is set but never used. SEXP specials, t, abb, data; ^ cc-1552 c89: WARNING File = model.c, Line = 1483 The variable "v&...