Re: [Rd] A small bug in R code of the legend function of the Graphics pacakge (PR#13340)

2008-11-29 Thread maechler
> "ASh" == asherman <[EMAIL PROTECTED]> > on Thu, 27 Nov 2008 14:30:04 +0100 (CET) writes: ASh> Full_Name: Arkady Sherman ASh> Version: 2.8.0 ASh> OS: Windows XP ASh> Submission from: (NULL) (158.195.16.114) ASh> Please consider initialization of the "seg.len"

[Rd] A small bug in R code of the legend function of the Graphics pacakge (PR#13340)

2008-11-27 Thread asherman
Full_Name: Arkady Sherman Version: 2.8.0 OS: Windows XP Submission from: (NULL) (158.195.16.114) Please consider initialization of the "seg.len" variable. It's done only if (do.lines) { seg.len <- 2 .., but after the seg.len is used: if (has.pch) { pch <- rep(pch, length.out =