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 :
"ش ه د ه رس ا ي"