Re: [R] changing plot font for Times new roman

2008-08-19 Thread Prof Brian Ripley
For X11 the family is "Times" (not "times"). See ?X11Fonts for the alternative "serif". Font values > 5 apply only to the Windows family of devices, and can be changed there via the Rdevga file. But family="serif" works there too (although its 'Times New Roman' may not be identical to that o

Re: [R] changing plot font for Times new roman

2008-08-18 Thread Roland Rau
Hi, I have forgotten something: in case you don't want to produce postscript or pdf files, have also a look at the nice article by Paul Murrell in R News, Vol 4. No. 2: http://cran.r-project.org/doc/Rnews/Rnews_2004-2.pdf Best, Roland Roland Rau wrote: Hi, milton ruser wrote: we choose a

Re: [R] changing plot font for Times new roman

2008-08-18 Thread Roland Rau
Hi, milton ruser wrote: we choose an family of fonts. I tryed par(family="times") without success. what about this: pdf("plot1Times.pdf", family="Times") plot(1,1) dev.off() pdf("plot1NotTimes.pdf") plot(1,1) dev.off() Maybe you check also the help for ?postscriptFonts I hope this helps yo

[R] changing plot font for Times new roman

2008-08-18 Thread milton ruser
Dear all, I know that it is a know issue, but I would like to change the type of font on my plot, and I am not sure the rigth way. I would like to use Times New Roman font, but according to the "par()" help, some device allow we choose an family of fonts. I tryed par(family="times") without succes