I imagine that you are much better off using the quartz() command in the OS X environment.
I haven't used the X11 command yet, but I imagine that using the latest X11 distribution from xquartz.macosforge.org might give more consistent results. Payam -- Payam Minoofar, Ph.D. Scientist Meissner Filtration Products 4181 Calle Tesoro Camarillo, CA 93012 USA +1 805 388 9911 +1 805 388 5948 fax [email protected] On 7/13/09 3:00 AM, "[email protected]" <[email protected]> wrote: Hi everybody I am using Leopard 10.5.7 with R. I am running from terminal rather than the R.app GUI. I had some script written under windows, when I was migrating everything to Mac, I found the graphs I plotted using X11 device behaved very strange in the title of the graph, which by default were italic. I check the ?X11, which said the default font for the title (main) is 1 (the plain text). Therefore, I need to specify font.main=1 in all my plot functions. I have a bunch of scripts, which will take a lot of time to change this manually. Is there a better solution for this? Since I used some X11 specific commands like savePlot, it may be not a good option for me to set options(device='quartz'), which will cause more work. Further, I found when I used X11(type='Xlib'), everything worked as the document said, however, if use X11(), which by default use 'cairo', this problem came again. Is there any solutions if I want to use 'cairo' type? [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
