On Wednesday 03 May 2006 09:05, Uwe Ligges wrote:
> Ah, I see, this happens in pie()'s line:
>
>    if (!is.na(lab <- labels[i]) && lab != "") {
>
> where lab is one element of the expression.
> I'd like to propose to change that line to
>
>    if (!is.na(lab <- labels[i]) && nchar(lab) > 0) {

What's the canonical way of patching something like this in R? Redefining the 
function at the start of your script?

Joh

Attachment: pgpgSSNWEOKo8.pgp
Description: PGP signature

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to