I'm trying to change the fonts for the graphs using ggplot2 in R. I want to change all text (x-lebel, y-label, title, legend) into Times New Roman, 12 pt:
install.packages("extrafont")
library(extrafont)
font_import()
loadfonts(device="win")
Unfortunately, it doesn't work. I always get multiple error messages. I think, it's because I use macOS. What else can I do?
Thank you very much for your help!