xxx_box | R Documentation |
For user guide, please refer to https://github.com/Hzhang-ouce/ARTofR
xxx_box(mystring = NULL, center = FALSE) xxx_box1(mystring = NULL, center = FALSE) xxx_list(mystring = NULL, center = FALSE) xxx_list1(mystring = NULL, center = FALSE)
mystring |
A string, will be a line of comment. If missing, the function will try to grab texts from your clipboard. |
center |
A logical value: Do you want the text strings centred? (alternative: left justified) |
xxx_box is for paragraph, xxx_list is for bullet points or numbered list.
Number 1 in xxx_box1 and xxx_list1 imply style 1.
A character string vector returned invisibly, but automatically displayed in the console, the output will be saved into clipboard
xxx_box1
: Same as xxx_box but add border
xxx_list
: Same as xxx_box but looks better for bullet points list or numbered list
xxx_list1
: Same as xxx_list but add border
# 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_box('test sentence, test sentence, test sentence, test sentence',center = FALSE ) xxx_box1('test sentence, test sentence, test sentence, test sentence',center = FALSE ) xxx_box1('test sentence, test sentence, test sentence, test sentence',center = TRUE )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.