xxx_divider1 | R Documentation |
For user guide, please refer to https://github.com/Hzhang-ouce/ARTofR
xxx_divider1(mystring = NULL) xxx_divider2(mystring = NULL)
mystring |
the content of your break, must be one line only, not too long |
Divider is shorter than title for hierarchy purpose, title will be come a section (for folding) in Rstudio, but divider will not
There are two styles of break, xxx_divider1 and xxx_divider2
Please note that a super long divider string will result in an error
call xxx_divider1()
will grab text from clipboard,
call xxx_divider1('')
will make a line without text,
call xxx_divider1('mystring')
will make a divider with 'mystring'
A character string vector returned invisibly, but automatically displayed in the console, the output will be saved into clipboard
xxx_divider2
: Same as xxx_divider1 but different style
# COMMON WORKFLOW OF THIS PACKAGE # 1. type your text in any text editor # 2. copy your text # 3. call xxx_box() etc without arguments to grab text from clipboard # 4. decorated text will be displayed and sent to clipboard, NO NEED to copy them # 5. paste into your R script # # #............................................... # # OTHER USAGE xxx_divider1('mystring') xxx_divider1('') xxx_divider2('mystring') xxx_divider2('')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.