powered by
Writes a string of characters to the terminal at the current cursor position. wr accepts text colors and attributes, but these are reset to default afterwards if used.
wr
wr(text, fg = NA, bg = NA, attr = NA)
string to be printed to the Console
foreground color. See fg_on for more details.
fg_on
background color. See bg_on for more details.
bg_on
character attribute. See attr_on for more details.
attr_on
NULL
Other writing functions: wrat(), wrch(), wrkpl(), wrkp()
wrat()
wrch()
wrkpl()
wrkp()
# NOT RUN { mv_to(5,4) wrch("h") wrch("e", fg="red") wr("llo World") # }
Run the code above in your browser using DataLab