Skip to content

RubyData/rubydown

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Ruby 88.7%
  • HTML 6.7%
  • Dockerfile 3.3%
  • Shell 1.3%