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

From: Deepayan Sarkar <deepayan_at_stat.wisc.edu>
Date: Fri 11 Mar 2005 - 01:57:13 GMT

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)?


R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Mar 11 13:03:38 2005

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