Re: [R] Greek letters and formatted text

From: S Ellison <S.Ellison_at_lgc.co.uk>
Date: Mon, 07 Jun 2010 12:55:32 +0100


The ?plotmath page and the example " ## How to combine "math" and numeric variables :" should be helpful...?

>>> Thomas Bschorr <bschorr_at_phys.ethz.ch> 05/06/2010 10:36:42 >>>
Hi,

I desperately try to do s.th. like

m=1.23455
sig=0.84321

plot(1,1)

text(0.8,1,sprintf("<Sigma>=%1.2f%1.2f",m,sig))

where actually the greek letter should appear for Sigma. I have tried all sorts of combinations with expression and paste etc. but could not work it out. Maybe someone has an idea and can help me.

Thanks a lot+

Thomas



R-help_at_r-project.org 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.

This email and any attachments are confidential. Any use...{{dropped:8}}

R-help_at_r-project.org 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 Mon 07 Jun 2010 - 11:57:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 07 Jun 2010 - 12:00:30 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.

list of date sections of archive