Learn R Programming

r2symbols (version 1.4)

sym.setting: Symbol setting

Description

Font styling for symbols

Usage

sym.setting(font.size = NULL, font.weight = NULL, font.color = NULL)

Value

No values returned

Arguments

font.size

font size as integer

font.weight

font weight eg. normal, bold or lighter

font.color

font color e.g. red, blue, cyan

Examples

Run this code
symbol.setting(40, "bold", "green") # ascribe settings for all symbols
symbol("alpha") # display the alpha symbol
symbol.setting() # clear settings for symbols
symbol("alpha") # display the alpha symbol

Run the code above in your browser using DataLab