Learn R Programming

cursr (version 0.1.0)

reset: Reset Console Style

Description

Turns off all text attributes and colors in the terminal.

Usage

reset()

Arguments

Value

NULL

See Also

Other style functions: attr_off(), attr_on(), bg_off(), bg_on(), color_off(), color_pair(), fg_off(), fg_on(), make_bg(), make_fg(), make_style(), style()

Examples

Run this code
# NOT RUN {
attr_on("ul")
fg_on("red")
bg_on(c(10,60,205))
cat("Hello World!\n")

reset()
cat("Hello World!\n")

# }

Run the code above in your browser using DataLab