Reputation: 18500
Is it possible to use a TTF font in R?
Is the cairo package intended for this task? How would a minimal example look like?
Upvotes: 11
Views: 2621
Reputation: 18500
Here is an example adapted from http://www.statmethods.net/advgraphs/parameters.html:
windowsFonts(Calibri=windowsFont("Calibri"))
par(family="Calibri")
plot(rnorm(1:10))
Upvotes: 11