Learn R Programming

r2symbols (version 1.4)

symCat: Fetch multiple symbols by category

Description

Fetch one or more symbols by category

Usage

symCat(
  category,
  font.size = NULL,
  font.weight = NULL,
  font.color = NULL,
  if.error = TRUE
)

Value

get symbols from matching a particular category

Arguments

category

symbol categories to fetch (minimum: 4 characters)

font.size

font size as integer

font.weight

font weight as integer

font.color

font color e.g. red, blue, cyan

if.error

show error response

Categories include

arrows mixed chess check mark symbol animal emoji flag people skull sign star telephone weather zodiac smiley hourglass fraction cards triangle square

Examples

Run this code
symCat("arrows")
symCat("smiley", font.size = 32)
symCat("music")
symCat("random") # should not work

Run the code above in your browser using DataLab