From MSchwartz at MedAnalytics.com  Fri Mar 11 04:00:54 2005
From: MSchwartz at MedAnalytics.com (Marc Schwartz)
Date: Fri Mar 11 04:01:03 2005
Subject: [Rd] unexpected behaviour of expression(sum())
In-Reply-To: <200503101957.13827.deepayan@stat.wisc.edu>
References: <200503101957.13827.deepayan@stat.wisc.edu>
Message-ID: <1110510054.14726.45.camel@horizons.localdomain>

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


[Rd] unexpected behaviour of expression(sum())
Marc Schwartz