I saw this article on how to change the font of R plots: Change Font of Plot in R - GeeksforGeeks. But the issue is that it recommends the
windowsFont() function. As the name implies, that function only works for Windows, I use Linux. Is there another way I can change the font for plots?
I know that for PDF output in R Markdown, I can set the chunk option
dev = "tikz". But what about just a plain R script?