[R] Greek letters and formatted text

From: Thomas Bschorr <bschorr_at_phys.ethz.ch>
Date: Sat, 05 Jun 2010 11:36:42 +0200


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. Received on Sat 05 Jun 2010 - 09:38: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:10:28 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