[R] Using system fonts in MacOS
Daniel J Farrell
daniel.farrell at imperial.ac.uk
Thu Aug 6 21:20:24 CEST 2009
I am using R for MacOS (R 2.9.1 GUI 1.28 Tiger build 32-bit (5444))
and would like to be able to use MacOS system fonts for the labels on
my plots. So far I have been unsuccessful, to get this to work.
Reading the help I found the quartz() and quartzFonts() commands. In
an attempt to set the font family I have tried this,
and also this,
This opens a new Quartz window, but the labels are still in the
default font, when I make a new plot.
I have two question:
(1) Why doesn't the quartz(family="Times-Roman") make the fonts change?
(2) Is it possible to use any MacOS system fonts with R and the Quartz
More information about the R-help