I need to use my own font, namely "Archer", with ggplot2 in R. Archer is the otf font installed on my system (Mac OSX Yosemite).
This script (here: Changing fonts in ggplot2 ) does not work for Archer, but works fine with other fonts like Arial.
install.packages("extrafont");library(extrafont) font_import("Archer") library(ggplot2) qplot(1:10)+theme(text=element_text(family="Archer"))
Is there something wrong with otf fonts?
fonts r typeface ggplot2 macos
Rodolphe
source share