[R] Plotting a registered sign
marc_schwartz at me.com
Thu Mar 1 03:55:48 CET 2012
On Feb 29, 2012, at 7:41 PM, Dennis Fisher wrote:
> R 2.14.0
> OS X
> Probably a simple question but it alludes me at the moment. I want to embed a registered sign in the text in a legend. The text would look like:
> with ® superscripted.
> Thanks in advance.
Depending upon some additional fine tuning, here is a generic example:
legend("topright", pch = 1, legend = expression(SOMETEXT ^ symbol("\342")))
See ?plotmath for more information. The above works on my MBP running Lion.
More information about the R-help