`knitr::spin` is a tool for formatting specially marked R script into a beautiful document that contains comments, plots, tables and code. Use together with the generic `knitr` tag to guide search for spinr related questions.
knitr::spin
is a part of the knitr
package by Yihui Xie intended for dynamic generation of documents complete with computation results and code directly out of R scripts.
Useful links
- An overview of
knitr::spin()
functionality by Dean Attali - Spin tutorial by Augustin Lobo