[Rd] parsing difference between 2.4.1 and 2.5.0

Gabor Grothendieck ggrothendieck at gmail.com
Fri Apr 27 17:34:21 CEST 2007


I noticed the following difference in parse(text = ...) between R
2.4.1 and R 2.5.0.

===

> parse(text = "\"^\" (x ,2 )")
expression(x^2)
> R.version.string
[1] "R version 2.4.1 Patched (2006-12-30 r40331)"


====

> parse(text = "\"^\" (x ,2 )")
expression("^" (x ,2 ))
> R.version.string
[1] "R version 2.5.0 RC (2007-04-16 r41194)"

====

Ryacas was depending on the behavior in R 2.4.1 so the new
behavior breaks it.

Is this intentional?  a bug?  How do I get the R 2.4.1 output
from R 2.5.0 ?



More information about the R-devel mailing list