plot math - segfault and "frac", "^" bug(s).. (PR#368)

maechler@stat.math.ethz.ch maechler@stat.math.ethz.ch
Wed, 8 Dec 1999 18:34:58 +0100 (MET)


       [this didn't go out at noon time during our e-mail storm...]

In R versions 0.65, 0.90.0, and the current "pre-release",
both on Linux and Solaris (the segfault at least)
[with x11() , but most probably not device dependent].

The following shows it all :

    plot(1,type='n')

    ## Frac doesn't shrink properly...
    text(.7,1.3,  expression( frac(7,4) == 1 * frac(3,4)), cex=1)
    text(.7,1.2,  expression( frac(7,4) == 1 * frac(3,4)), cex=3)

    ## Bug in precedency rule of  "^" :
    text(.7, 1,   expression( Phi^{-1}(frac(3,4))),cex=3)
    text(1.1,1,   expression( {Phi^{-1}}(frac(3,4))),cex=3)

    ## This segfaults :
    text(.9, 1,   expression( Phi^ -1 (frac(3,4))),cex=3)

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._