font_install: Install a font package and register it in the fonts database

Description Usage Arguments Examples

Description

If the font package specified by fontpkg is not already installed, it will be downloaded from CRAN. The font package will then be registered in the fonts database.

Usage

1
font_install(fontpkg = NULL, prompt = TRUE)

Arguments

fontpkg

The name of an R package containing a font, e.g., "fontcm".

prompt

Ask user to install font from CRAN if not already installed

Examples

1
2
3
4
## Not run: 
font_install('fontcm')

## End(Not run)

extrafont documentation built on May 2, 2019, 3:44 a.m.