R-alpha: Bugs in R-0.60
From: Martyn Plummer <plummer@iarc.fr> To: r-devel@stat.math.ethz.ch Subject: R-alpha: Bugs in R-0.60 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))
Fixed these two, but there may well be more ...
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.
Fixed and committed. Updates in 0.60.2 Ross -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._