[R] greek letters do not work in expression
Marc Schwartz
marc_schwartz at me.com
Sun Jul 30 17:25:42 CEST 2017
> On Jul 30, 2017, at 10:22 AM, Milan Cisty <milan.cisty at stuba.sk> wrote:
>
> Dear all,
> I appreciate suggestions for following problem. I wrote to RStudio:
> plot(c(1,20),c(1,20), xlab = expression(paste(alfa)))
> or the same happen when I wrote:
> plot(c(1,20),c(1,20), xlab = expression(alfa))
> what happen is, that description under x label is exactly "alpha", not greek
> letter alfa (α).
> Please where should I search problem, or what information to sent to list for
> identification of this problem?
> Thanks,
> Milan
Try using 'alpha' rather than 'alfa':
plot(c(1,20),c(1,20), xlab = expression(alpha))
Regards,
Marc Schwartz
More information about the R-help
mailing list