Learn R Programming

extrafont (version 0.19)

ttf_import: Imports all TrueType fonts in a directory and all subdirectories

Description

Imports all TrueType fonts in a directory and all subdirectories

Usage

ttf_import(paths = NULL, recursive = 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)

pattern

A regular expression that the filenames must match.