Commit a9816448 authored by Holger Brandl's avatar Holger Brandl

added spinr utility method

parent d6dec6df
......@@ -53,4 +53,14 @@ open .$(basename $1 .md).html
export -f rendr_md
#rendr_md /Users/brandl/Dropbox/documents/regression/regression_basics.md
#sed 's/```r/```{r}' /Users/brandl/Dropbox/documents/regression/regression_basics.md
\ No newline at end of file
#sed 's/```r/```{r}' /Users/brandl/Dropbox/documents/regression/regression_basics.md
just_spin(){
echo '
require(knitr)
spin(commandArgs(T)[1], knit=F)
' | Rscript - $1
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment