R里面的bquote长成这样——bquote(expr, where = parent.frame())
你说的这个问题,我写了个小例子给你,你看能用不——
require(graphics)
a <- 2
bquote(a == a)
quote(a == a)
bquote(a == .(a))
substitute(a == A, list(A = a))
plot(1:10, a*(1:10), main = bquote(a == .(a)))
default <- 1 #设置一个函数的默认参数
bquote( function(x, y = .(default)) x+y )