choose_first_installed_font | R Documentation |
As a side-effect, a warning will be thrown if none of the choices are installed.
choose_first_installed_font(choices, verbose = FALSE)
choices |
character, vector of font family names |
verbose |
logical, whether to display chosen font |
the first installed font from choices
, or
failing that, "sans"
if (interactive()) { print(choose_first_installed_font(c("Blah blah", "Arial", "Another made-up font"))) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.