R-alpha: Bug in axis(.) / low.level plotting for BIG floats

Martin Maechler (maechler@stat.math.ethz.ch)
Wed, 19 Feb 97 16:09:14 +0100


Date: Wed, 19 Feb 97 16:09:14 +0100
Message-Id: <9702191509.AA07982@>
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: R-testers@stat.math.ethz.ch
Subject: R-alpha: Bug in  axis(.) / low.level plotting for  BIG floats

[[the following is "real"; it happened when I tried something as

	x_seq(0,5, len=1001)
	plot(x, trigamma(x), type='l', col="red")
]]


## R 0.16.1,  Solaris 2.5.x:

	plot(1, 1.79e308)

gives an infinite loop 
	(which sometimes,  I even can't terminate with the usual C-c ....)
Is this reproducible ?

Note that
	plot(1, 1.25e308) # still works

	plot(1, 1.3e308)  # fails

AND -- "watch this" --

	> plot(1, 1.27e308)
	Error: missing value where logical needed

-------
The problems really occur in  axis(..),
but even

	plot(1, 1.27e308, after=cat("____ after ___ \n"), axes=F)

gives a pretty funny picture
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-