Learn R Programming

lares (version 5.1.0)

font_exists: Check if Font is Installed

Description

This function checks if a font is installed in your machine.

Usage

font_exists(font = "Arial Narrow", quiet = FALSE)

Arguments

font

Character. Which font to check

quiet

Boolean. Keep quiet? If not, show message

Value

Boolean result of the existing fonts check.

Examples

Run this code
# NOT RUN {
font_exists(font = "Arial")
font_exists(font = "XOXO")
font_exists(font = "")
# }

Run the code above in your browser using DataLab