[R] Change font type PNG device with Lattice xyplot

Dieter Menne dieter.menne at menne-biomed.de
Tue Apr 28 12:31:33 CEST 2009


RBlonk <robbert.blonk <at> gmail.com> writes:

> I have some problems with changing the default font (Arial) in a xyplot
> which is printed using the PNG-device. Although some things have been
> mentioned about this in the forum, I still couldn't figure it out. Can
> someone help me out?n Thanks in advance!

Thanks a lot for the nice example!

There may be other ways, but I would do it as follows:

-- Open R_HOME\etc\Rdevga
-- Add the font you want as text at the end of the list
-- Use font=18 (I may have miscounted)

Dieter




More information about the R-help mailing list