Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (4 sloc) 194 Bytes
#!/bin/bash
cd $(dirname "$1")
FILE="$(basename $1)"
R --vanilla -e 'library(knitr); render_markdown(strict=T); opts_chunk$set(tidy=FALSE); spin("'$FILE'")' > /dev/null && cat "${FILE%.*}".md
Something went wrong with that request. Please try again.