xxx_divider1 {ARTofR}R Documentation

Insert a divider (line break or page break)

Description

For user guide, please refer to https://github.com/Hzhang-ouce/ARTofR

Usage

xxx_divider1(mystring = NULL)

xxx_divider2(mystring = NULL)

Arguments

mystring

the content of your break, must be one line only, not too long

Details

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'

Value

A character string vector returned invisibly, but automatically displayed in the console, the output will be saved into clipboard

Functions

Examples

# 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('')

[Package ARTofR version 0.4.1 Index]