As I understand it, the help assignOps
operator =
evaluates immediately. So the second expression is equivalent substitute(100,list(c1=100))
.
But you can put it in curly braces and the result is
> substitute({c1=100},list(c1=100))
{
100 = 100
}
a source
to share