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

About this list Date view Thread view Subject view Author view Other groups

Subject: plot math - segfault and "frac", "^" bug(s).. (PR#368)
maechler@stat.math.ethz.ch
Date: Thu 09 Dec 1999 - 03:34:58 EST


Message-Id: <199912081734.SAA22785@pubhealth.ku.dk>

       [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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:11 EST