sweave2script()
The sweave2script()
converts an Sweave source file (such as shoes.Rnw, see also shoes.pdf) into a script file shoes-script.R.
- This is old stuff (originally in the pre
rmarkdown
days).
- By default, shoes-script.R is subsequently put through
knitr::spin()
which produces shoes-script.html.
- Only very few features of the LaTeX language are understood and translated by
sweave2script()
.
- Maybe
sweave2script()
will one day find its way into an R package; for now the function will reside here.