Re: [R] Plotting a registered sign

2012-03-01 Thread David Winsemius
On Mar 1, 2012, at 2:40 PM, Dennis Fisher wrote: R 2.14.0 OS X Marc's proposed solution (appearing at the end of this email) is perfect -- thanks so much However, some questions remain: 1. The following works: plot(1, type="n") text(1, 1, expression(symbol("\342"))) but t

Re: [R] Plotting a registered sign

2012-03-01 Thread Marc Schwartz
Hi Dennis, There are some subtleties in the way that 'symbol' is handled in plotmath. There is no symbol() function, per se, though there is an as.symbol() function, which is used differently. 'symbol' as used in plotmath, is telling R to plot the character using a symbol font, which is the sa

Re: [R] Plotting a registered sign

2012-03-01 Thread Dennis Fisher
R 2.14.0 OS X Marc's proposed solution (appearing at the end of this email) is perfect -- thanks so much However, some questions remain: 1. The following works: plot(1, type="n") text(1, 1, expression(symbol("\342"))) but this does not work (TEXT appears in a symbol font)

Re: [R] Plotting a registered sign

2012-02-29 Thread Marc Schwartz
On Feb 29, 2012, at 7:41 PM, Dennis Fisher wrote: > R 2.14.0 > OS X > > Colleagues > > 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: > SOMETEXT® > with ® superscripted. > > Thanks in

[R] Plotting a registered sign

2012-02-29 Thread Dennis Fisher
R 2.14.0 OS X Colleagues 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: SOMETEXT® with ® superscripted. Thanks in advance. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Pho