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
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
gem install rumale rdatasets
git clone git://github.com/RubyData/rubydown
cd rubydown/examples
rubydown -i rumale.md