[R] Greek symbols in plot labels

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Sep 20 19:34:53 CEST 2001

"Calvin L. Williams, Ph.D." wrote:
> R-Users,
> I trying to get greek symbols in the labels of a plot. This is
> successful in the title and in the x-label. But, not successful
> in the y-label. Is this a bug or am I missing something?
> For example,
> plot(0,0,
> xlab=substitute(paste(phi,"=",true,sigma),list(true=5)),
> ylab=substitute(paste(phi,"=",true,sigma),list(true=5)),
> main=substitute(paste(phi,"-Coordinates-",true,sigma),list(true=5)))
> does the x-label and title correctly, but not y-label.

Works for me on NT4.
Please tell us: R Version (1.3.1 ???), OS.

Start R using the option vanilla and try again. 
Maybe there something wrong with your workspace.

Uwe Ligges
r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list