Skip to content
Prev 66574 / 398502 Next

Trouble with expression() in R-win 2.0.1

Hi.
   The following statement works fine in R-win 1.8.0, but yields a syntax
   error in R-win 2.0.1 (and possibly in other versions after 1.8.0):

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

   I  note  that  the  following workaround executes successfully in both
   versions of R...

     plot(c(1,2),main=expression(a*"="*b*"="*c))

   ...but  I don't really understand why the first version works in 1.8.0
   and not in 2.0.1.
   Yours truly,
   Ronnen.
   P.S. E-mailed CCs of posted replies appreciated.