Do you know how can I change the default font used for all text (title, caption, xytitle, xylabel, etc) in ggplot? I have a script plotting different types of figures using ggplot via different utility plot fuctions. I know I can specify font in the theme(), but I will have to change it in every plot function. Is there a way to specify the font globally at the begninging of the script and it will be applied to all ggplot?
You can set your default theme to use a specific font choice, so that every plot you make uses it, even without specifying the font. See ?theme_set() and related functions.