Yihui,

Thank you for your contributions! It's especially impressive how you're
continuing to develop LyX support and documentation of Sweave, even though
in some sense knitr is a competitor. From what I have been reading, knitr
has clear advantages.

Are the following correct?

1. knitr will be integrated in LyX 2.0.3 (through a module) without
additional customization.
2. there will be knitr and sweave manuals in the help>specific manuals in
LyX 2.0.3.

Thanks so very much, Xu

On Wed, Jan 18, 2012 at 9:20 PM, Yihui Xie <x...@yihui.name> wrote:

> 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