font_import: Import system fonts

Description Usage Arguments Examples

Description

Presently only supports TrueType fonts.

Usage

1
2
font_import(paths = NULL, recursive = TRUE, prompt = TRUE,
  pattern = NULL)

Arguments

paths

A vector of directories to search in. (Default is to auto-detect based on OS)

recursive

Search recursively in directories? (Default TRUE)

prompt

Show confirmation prompt? (Default TRUE)

pattern

A regular expression that the filenames must match.

Examples

1

Example output

Registering fonts with R
Importing fonts may take a few minutes, depending on the number of fonts and the speed of the system.
Continue? [y/n] 
Exiting.

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