That is not right, because the converters are not there if you do not
re-compile LyX. Of course you can add the converters manually; see the
changes in lib/configure.py at
http://www.lyx.org/trac/attachment/ticket/7887/knitr.patch (further
instructions on converters: section "For Windows Users"
http://yihui.name/en/2011/05/sweave-and-pgfsweave-in-lyx-2-0-x-experimental/)

Regards,
Yihui
--
Yihui Xie <xieyi...@gmail.com>
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Wed, Jan 18, 2012 at 4:07 PM, Jack Tanner <i...@hotmail.com> wrote:
> 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?
>

Reply via email to