> maybe there?s a reason for it, but the discrepancy between the
> handling of `[` and `$` in deparsing seems odd to me:
>
> > substitute(a[1], list(a = quote(x * y)))
> x * y[1]
>
> > substitute(a$b, list(a = quote(x * y)))
> (x * y)$b
>
> The former is still executed in the right order (`*` firs
On 04/01/2016 11:09 AM, Lukas Stadler wrote:
Hi,
maybe there’s a reason for it, but the discrepancy between the handling of `[`
and `$` in deparsing seems odd to me:
> substitute(a[1], list(a = quote(x * y)))
x * y[1]
> substitute(a$b, list(a = quote(x * y)))
(x * y)$b
The former is still exec
Hi,
maybe there’s a reason for it, but the discrepancy between the handling of `[`
and `$` in deparsing seems odd to me:
> substitute(a[1], list(a = quote(x * y)))
x * y[1]
> substitute(a$b, list(a = quote(x * y)))
(x * y)$b
The former is still executed in the right order (`*` first, then `[`),