Skip to content
Prev 66575 / 398502 Next

Trouble with expression() in R-win 2.0.1

On Friday 25 March 2005 20:26, Ronnen Levinson wrote:
The relevant NEWS entry says:

    o   R no longer accepts associative use of relational operators.
        That is, 3 < 2 < 1 (which used to evalute as TRUE!) now causes
        a syntax error.  If this breaks existing code, just add
        parentheses -- or braces in the case of plotmath.

i.e., you want

plot(c(1,2),main=expression(a=={b==c}))

Deepayan