Re: [R] Plotmath isn't working for special characters

2023-01-25 Thread Uwe Ligges
. -Original Message- From: R-help On Behalf Of David Stevens Sent: Wednesday, January 25, 2023 8:34 AM To: Bert Gunter Cc: r-help@r-project.org Subject: Re: [R] Plotmath isn't working for special characters External Email: This message originated from outside Empower Pharmacy. P

Re: [R] Plotmath isn't working for special characters

2023-01-25 Thread Shawn Way
Gunter Cc: r-help@r-project.org Subject: Re: [R] Plotmath isn't working for special characters External Email: This message originated from outside Empower Pharmacy. Please exercise caution before opening attachments, clicking links, replying, or providing information to the sender. A

Re: [R] Plotmath isn't working for special characters

2023-01-25 Thread David Stevens
A more extensive test (no=produced an empty box on the plot, yes=produced the intended plotmath result). It appears that plotmath is not producing the special math characters. Greek symbols are produced. I'll try to reinstall R and report back. David plot(1,1, main = parse(text = "x >= y")) -

Re: [R] Plotmath isn't working for special characters

2023-01-25 Thread Rui Barradas
Às 12:36 de 25/01/2023, Rui Barradas escreveu: Às 21:53 de 24/01/2023, Spencer Graves escreveu: On 1/24/23 3:33 PM, David Stevens wrote: Simple expressions on plots, such as parse(text='x >= y') have been resulting in just a placeholder box (x box y and not the symbol) in my R plot labels in

Re: [R] Plotmath isn't working for special characters

2023-01-25 Thread Rui Barradas
Às 21:53 de 24/01/2023, Spencer Graves escreveu: On 1/24/23 3:33 PM, David Stevens wrote: Simple expressions on plots, such as parse(text='x >= y') have been resulting in just a placeholder box (x box y and not the symbol) in my R plot labels in windows, R v 4.2.2. I haven't down an exhaustive

Re: [R] Plotmath isn't working for special characters

2023-01-24 Thread Ivan Krylov
On Tue, 24 Jan 2023 21:33:48 + David Stevens wrote: > Simple expressions on plots, such as parse(text='x >= y') have been > resulting in just a placeholder box (x box y and not the symbol) in > my R plot labels in windows, R v 4.2.2. Here's a recently fixed bug that may be related: https://

Re: [R] Plotmath isn't working for special characters

2023-01-24 Thread Richard O'Keefe
plot(1,1, main=quote(x>=y)) produces the symbol for me. plot(1,1, main=parse(text="x>=y")) also produces the symbol. setting value version R version 4.2.2 Patched (2022-11-10 r83330) os Ubuntu 22.04.1 LTS system x86_64, linux-gnu ui X11 language en_NZ:en collate en_NZ.iso88

Re: [R] Plotmath isn't working for special characters

2023-01-24 Thread Bert Gunter
Also works for me on a Mac Ventura in the RStudio graphics device. Just for the heckuva it, does plot(1,1,main= quote( x >= y )) work? I shouldn't think so, but ... Cheers, Bert On Tue, Jan 24, 2023 at 1:43 PM David Stevens wrote: > Simple expressions on plots, such as parse(text='x >= y') ha

Re: [R] Plotmath isn't working for special characters

2023-01-24 Thread Spencer Graves
On 1/24/23 3:33 PM, David Stevens wrote: Simple expressions on plots, such as parse(text='x >= y') have been resulting in just a placeholder box (x box y and not the symbol) in my R plot labels in windows, R v 4.2.2. I haven't down an exhaustive test but <= and >= have this behavior. plot(1,1

[R] Plotmath isn't working for special characters

2023-01-24 Thread David Stevens
Simple expressions on plots, such as parse(text='x >= y') have been resulting in just a placeholder box (x box y and not the symbol) in my R plot labels in windows, R v 4.2.2. I haven't down an exhaustive test but <= and >= have this behavior. plot(1,1,main=parse(text="x >= y")) Has anyone els