Skip to content
Prev 13548 / 63421 Next

model.matrix.default chokes on backquote (PR#7202)

"Gabor Grothendieck" <ggrothendieck@myway.com> writes:
Hmmm... Point taken, but I'm not happy about the fact that the
internals seem unable to  discern `lag(y)` (the name) and lag(y) (the
call). One might consider "backtickifying" the names of the data
matrix instead:
function(nm)deparse(as.name(nm),backtick=TRUE))
a     a(b)
     "a" "`a(b)`"