This registers fonts so that they can be used with the pdf, postscript, or Windows bitmap output device. It must be run once in each R session.
loadfonts(device = c("all", "pdf", "postscript", "win"), quiet = FALSE)
The output device. If
A named list with up to three elements, one for each device for which
fonts were loaded. Each device element is a named list, with an element for
each family that was the function attempted to register with that device.
The value is
NULL if the function did not register the font family
due to problems or because the font family was already registered. If value
is the return value of
embed_fonts, #ifdef windows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.