0

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.

THK
  • 486
  • 3
  • 11

1 Answers1

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.

Community
  • 1
  • 1
DonJ
  • 923
  • 11
  • 18
  • Got it. Thanks. It appears that you can add your own handler with knit_engines$set(). – THK Nov 21 '16 at 17:24