RubyData / rubydown

rubydown is pure-Ruby R Markdown clone
https://rubygems.org/gems/rubydown
MIT License
16 stars 2 forks source link

rubydown

CircleCI Build status

rubydown is pure-Ruby R Markdown clone. It takes a markdown source file, executes the code chunks, captures the output, and stitches the output into the destination file.

Python also has R Markdown like packages. If you have interest about making reproducible reports, please also refer to the following projects.

https://github.com/jankatins/knitpy
https://github.com/pystitch/stitch
https://github.com/danijar/handout

Install

sudo apt install gnuplot # When you use numo-gnuplot with rubydown

sudo apt install python3-pip # When you use charty with rubydown
sudo python3 -m pip install -U pip matplotlib # When you use charty with rubydown

gem install rubydown

Usage (example with rumale and rdatasets)

gem install rumale rdatasets
git clone git://github.com/RubyData/rubydown
cd rubydown/examples
rubydown -i rumale.md