R seems to have some support for right-to-left scripts, presumably picking up on the unicode bidi class, e.g.:
library("numerals")
numeral(1:9, "ar")
#> <numeral[9]>
#> [1] ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩
But it doesn't always happen when expected:
numeral(1:9, "fa")
#> <numeral[9]>
#> [1] ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹
And it would also be nice if the indices and justification followed, something like this:
library("numerals")
numeral(1:9, "ar")
#> <numeral[9]>
#> ١] ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩]
R seems to have some support for right-to-left scripts, presumably picking up on the unicode bidi class, e.g.:
But it doesn't always happen when expected:
And it would also be nice if the indices and justification followed, something like this: