yihui/knitr — pull request #640 by metasim (2013-10-27 17:58:50+00:00)
Title: Added Scala support to engines.R

Given the clean knitr interface, adding Scala to engine.R was quite easy. Testing was done via the `knitr-polyglot.Rmd` file, where a similar operation was done in R, Scala, Python, and Bash. Extracting the Scala part of this would sufficiently serve as a Scala example for the knitr-examples repository, if so desired.