README.md

hrr

Horizontal rule for R language.

Why?

Because the horizontal rules are the easiest way to split your output into blocks.

Inspired by hr for bash.

Installation

You can install hrr via CRAN.

E.g.,

install.packages('hrr', repos='http://cran.r-project.org')

Otherwise, if you prefer, you can install it via devtools package (link).

library(devtools)
install_github('hrr', username = 'leodido')

How to use it?

Load it.

library(hrr)

Simply call the hr() function.

It will print the the default symbol (i.e., #) till the end of your terminal window.

hr()
#################################### ...

Or define your own symbol.

hr('*')
************************************ ...

You can also make beautiful ASCII patterns.

hr('-', '#', '-')
------------------------------------
####################################
------------------------------------

hr('-#-', '-', '-#-')
-#--#--#--#--#--#--#--#--#--#--#--#-
------------------------------------
-#--#--#--#--#--#--#--#--#--#--#--#-

From the command-line:

TODO

Requirements

The only requirement is the R language (tested in version 3.0.*).

License

This package is released under the terms of the MIT license.



Try the hrr package in your browser

Any scripts or data that you put into this service are public.

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