R-alpha: Bugs in R-0.60

Martyn Plummer plummer@iarc.fr
Mon, 08 Dec 1997 09:05:04 +0100 (MET)


Thanks to the core team for releasing R-0.60. I found a couple of 
bugs.

1) Segfault!
assign(character(0),1)
Fix: Obviously, check the string length. The same problem may occur
in other places but I haven't done an extensive search.
x <- 1
attr(x, character(0)) 


2) The function GStrHeight (graphics.c) uses the conversion factors
for the X axis instead of the Y axis. This causes strangeness in
legend() when the axes are on different scales.
Fix: Replace fig2dev.bx, win2fig.bx and ipr[0] with 
fig2dev.by, win2fig.by and ipr[1], respectively.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._