I don't know any language other than English, much less one written right-to-left, but a quick search shows that the RGtk2 package includes some support for such things.

My gut reaction is that right-to-left support would be highly device dependent, and since devices often interact closely with the OS, that support could well be affected by choice of and configuration of OS.

I recommend that your keep your mind open, and when someone indicates that your example works for them and shows OS/R version information to go along with that result (as recommended in the posting guide), you probably should respond with similar information since it appears to be relevant.

On Sun, 1 Jan 2012, Tal Galili wrote:

Hi Duncan,
Thank you for your reply.
I am also using Win 7.
And I would be surprised if this would be different in any OS.

I guess the answer is that there is no way for making text in a graph in R
be "right-to-left".

Thanks again, and happy new year,
Tal


----------------Contact
Details:-------------------------------------------------------
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Sun, Jan 1, 2012 at 5:34 AM, Duncan Mackay <mac...@northnet.com.au>wrote:

Hi Tal

I think it might be an OS problem whether it is a graphics as well I do
not know.

I Just copied and pasted the line into R and it seems ok

OS win 7
version
platform       i386-pc-mingw32
arch           i386
os             mingw32
system         i386, mingw32
status
major          2
minor          14.1
year           2011
month          12
day            22
svn rev        57956
language       R
version.string R version 2.14.1 (2011-12-22)

Regards

Regards

Duncan Mackay
Department of Agronomy and Soil Science
University of New England
ARMIDALE NSW 2351
Email: home mac...@northnet.com.au


At 02:52 30/12/2011, you wrote:

Content-Type: text/plain
Content-Disposition: inline
Content-length: 796


Hello all,

The following line of code includes a right-to-left language text, yet the
R graphics engine displays it from left to right.  One problem this causes
is when there are parenthesis in the test, here is a basic example?

plot(1:10, main = "???????  (????????)")


Is there a way to make sure the text is displayed from right to left?

Many thanks for any suggestions,
Tal


----------------Contact
Details:----------------------**------------------------------**---
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
------------------------------**------------------------------**
------------------------------**----

       [[alternative HTML version deleted]]


______________________________**________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
PLEASE do read the posting guide http://www.R-project.org/**
posting-guide.html <http://www.R-project.org/posting-guide.html>
and provide commented, minimal, self-contained, reproducible code.


______________________________**________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
PLEASE do read the posting guide http://www.R-project.org/**
posting-guide.html <http://www.R-project.org/posting-guide.html>
and provide commented, minimal, self-contained, reproducible code.


        [[alternative HTML version deleted]]



---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnew...@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to