Sitelet https://web.archive.org/web/20200918003800/https://github.com/blmayer/asciichartr
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

asciichartr

Print charts directly on your R terminal. This is a port for the R programming language.

Installing the package

As this package is on CRAN one can run install.packages("asciichartr").

Using the package

Execute asciiPlot with a numeric vector as input and print the result, for example:

ts <- c(1,1,2,3,6,3,10,5,1,7,9,9,10,6,9,7,10,8)
cat(asciiPlot(ts))
#   10.00 ┤     ╭╮    ╭╮  ╭╮ 
#    9.00 ┤     ││  ╭─╯│╭╮││ 
#    8.00 ┤     ││  │  ││││╰ 
#    7.00 ┤     ││ ╭╯  ││╰╯  
#    6.00 ┤   ╭╮││ │   ╰╯    
#    5.00 ┤   │││╰╮│         
#    4.00 ┤   │││ ││         
#    3.00 ┤  ╭╯╰╯ ││         
#    2.00 ┤ ╭╯    ││         
#    1.00 ┼─╯     ╰╯         

Also check the documentation for configuration options: ?asciiPlot.

Credits

Inspired by asciichart.

About

Nice-looking lightweight console ASCII line charts ╭┈╯ for R, no dependencies

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.