Yihui Xie <xie <at> yihui.name> writes: > > See http://yihui.github.com/knitr/demo/lyx/ > > Since you are using Windows, it is recommended to use the first > approach (it is difficult and very time-consuming to compile LyX from > source under Windows, as the second approach requires). Basically you > rename lyxknitr.R to lyxsweave.R and put in under > c:/users/me/appdata/roaming/LyX20/scripts; then your Sweave module > will actually become a knitr module.
But recompiling LyX shouldn't be necessary to get it to recognize a new module under c:/users/me/appdata/roaming/LyX20/layouts, right?