[R] Math expressions in pie chart labels?
Johannes Graumann
johannes_graumann at web.de
Wed May 3 18:09:24 CEST 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060503/5a789e51/attachment-0003.bin
More information about the R-help
mailing list