R visual in Power BI that displayed unreadable Arabic text

I have a problem with R visual in Power BI that displayed unreadable Arabic text .

I wrote this script :
plot(-1:1, -1:1, type = "n", xlab = "Re", ylab = "Im")
#text(0,0,stri_enc_tonative(charToRaw(y)) , family = "Dubai",cex=3,col=4)
text(0,0, "ياسر مدهش", family = "Dubai",cex=3,col=4)

and the result :
"ش ه د ه رس ا ي"

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.