Right to left languages support in R, using Mac
It works fine for me. I just change the size of labels to better show it.
library(ggplot2)x <- data.frame(a=runif(10),b=runif(10))ggplot(x, aes(a,b)) + geom_point()+ xlab('سلام') + theme( axis.title=element_text(size=100,face="bold"))
I am using :
other attached packages:[1] ggplot2_0.9.3.1R version 3.0.2 (2013-09-25)Platform: x86_64-w64-mingw32/x64 (64-bit)
Also works fine under :
R version 3.0.3 (2014-03-06)Platform: x86_64-pc-linux-gnu (64-bit)
I know this is an old question, but I recently wrote an R package to deal with it. It's a simple R wrapper around some python code, since this problem also occurs when using python in mac. The package reverses the Arabic string and then reconnects the letters correctly using Abdullah Diab's python-arabic-reshaper module.
My package is here.Abdullah Diab's module (for python) is here.