Re: [R] line break in pie chart labels

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Thu 28 Sep 2006 - 08:07:26 GMT

Peter Dalgaard <p.dalgaard@biostat.ku.dk> writes:

> > pie(c(2,3),labels=expression(pi_1,pi_2))
> Error in lab != "" : comparison is not allowed for expressions
> In addition: Warning message:
> is.na() applied to non-(list or vector) in: is.na(lab <- labels[i])

Argh. The curse of the non-functional example: It should of course say expression(pi[1], pi[2]).

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu Sep 28 18:17:46 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 28 Sep 2006 - 08:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.