From maechler@stat.math.ethz.ch  Wed Dec  8 17:27:25 1999
From: maechler@stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Wed, 8 Dec 1999 18:27:25 +0100 (MET)
Subject: plot math - segfault and "frac", "^" bug(s).. (PR#365)
Message-ID: <199912081727.SAA22705@pubhealth.ku.dk>


    MM> I've sent two bug reports that both haven't been forwarded to R-devel
    MM> and haven't should up at the jitterbug repository.

    MM> ??

    MM> Martin

Well, actually only one [the other went to R-core alone]
Here it is :

 From: Martin Maechler <maechler@sophie>
 To: R-bugs
 Subject: plot math - segfault and "frac", "^" bug(s)..
 Date: 8 Dec 1999 12:50:44 +0100

This is in R versions 0.65, 0.90.0, and the current "pre-release",
both on Linux and Solaris
[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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


plot math - segfault and "frac", "^" bug(s).. (PR#365)
maechler@stat.math.ethz.ch