Reputation: 1196
Is it possible to write with greek letters in R, as you can in Mathematica? In a string would be enough. It would be nice to use greek letters with rSymPy.
Not talking about plots, more interested in using greek letters in strings.
Upvotes: 4
Views: 4187
Reputation: 367
You can use unicodes to add greek letters to your string.
> str <- paste("\U03B1","\U03B2","\U03B6","\U03B4","\U03C0","\U03A8")
> str
[1] "α β ζ δ π Ψ"
Hope this answers your question.
Upvotes: 7