I forked knitr and am trying to add a new engine. Do I have to install my fork system-wide to see if it works with an RStudio notebook or can I run some R code directly to test the engine? I'd prefer not to overwrite the system knitr install.
Asked
Active
Viewed 200 times
1 Answers
0
See Yihui's response to
Conditionally display block of markdown text using knitr
He shows how to define a custom engine for an 'asis' chunk.
-
Got it. Thanks. It appears that you can add your own handler with knit_engines$set(). – THK Nov 21 '16 at 17:24