Re: [Rd] unexpected behaviour of expression(sum())

From: Marc Schwartz <MSchwartz_at_medanalytics.com>
Date: Fri 11 Mar 2005 - 03:00:54 GMT

On Thu, 2005-03-10 at 19:57 -0600, Deepayan Sarkar wrote:
> I'm seeing inconsistent symbols from the same expression with the
> following code:
>
>
> expr = expression(sum(x, 1, n))
> plot(1, main = expr, type = "n")
> text(1, 1, expr)
>
>
> Moreover, the inconsistency is reversed in r-devel compared to R 2.0.1.
> In particular, the main label shows a \bigoplus instead of \sum in
> r-devel, and the other way round in 2.0.1. demo(plotmath) shows \sum in
> both.
>
> Can anyone confirm? Is this intended behaviour (though I can't see how)?

No problem in "Version 2.0.1 Patched (2005-03-07)". I get \sum in both places. I do not see anything in the NEWS file suggesting a bug fix for this.

I just installed "Version 2.1.0 Under development (unstable) (2005-03-11)" and do not see the problem there either.

Both are under FC3.

HTH, Marc Schwartz



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Mar 11 14:09:30 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:01 GMT