hr: Prints an horizontal rule.

Description Usage Arguments Value Examples

View source: R/hr.r

Description

hr, given a list of symbols, composes with them an horizontal rule that fits the current width of the terminal window. If nothing is passed to it, this function prints the default character (see hrr.symbol option) till the end of your current terminal window. The same happens if symbol is an empty string or a string containing only whitespaces.

Usage

1

Arguments

...

Symbols that compose the horizontal rule

Value

A list (invisibly).

Examples

1
2
3
4
hr()
hr('*')
hr('-', '#', '-')
hr('', '?', '   ')

hrr documentation built on May 29, 2017, 9:50 a.m.

Related to hr in hrr...