[R] fonts in mosaic

Erich Neuwirth erich.neuwirth at univie.ac.at
Thu Mar 31 17:24:56 CEST 2011


The easiest way of changing the font used for labels by the windows
graphics device (opened by a call to windows()) seems to be the following:

Let us assume we want to use the font Consolas for all labels:

windowsFonts(myfont="Consolas")
par(family="myfont")

If one later on wants to change the default font for graphics,
one has to run both commands again. Just issueing a new windowsFonts
command will not change the font used by the graphics device.



More information about the R-help mailing list