[R] Plotmath isn't working for special characters

Spencer Graves @pencer@gr@ve@ @end|ng |rom e||ect|vede|en@e@org
Tue Jan 24 22:53:48 CET 2023



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,main=parse(text="x >= y"))
> 
> Has anyone else seen this?


	  What's your "sessionInfo()"?


	  I got the symbol, not problem.  Spencer Graves


sessionInfo()
R version 4.2.2 (2022-10-31)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 11.7.2

Matrix products: default
LAPACK: 
/Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods
[7] base

loaded via a namespace (and not attached):
[1] compiler_4.2.2  tools_4.2.2     rstudioapi_0.14
[4] remotes_2.4.2
 > >
> best
> 
> David
>



More information about the R-help mailing list