Yes, you are missing the LyX/Sweave manual:
https://github.com/downloads/yihui/lyx/sweave.pdf
Or if you do not care about how things work, you can jump straight
into the LyX/knitr manual:
https://github.com/downloads/yihui/lyx/knitr.pdf

Or just use Insert-->TeX Code if you care neither of the manuals above :)

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 Mon, Jul 16, 2012 at 8:01 PM, Murat Yildizoglu <myi...@gmail.com> wrote:
> Hello,
>
> I am starting to test Knitr, since its possibilities seems much nicer that
> Sweave.
> I can compile now the knitr-minimal.lyx provided by Yihui, but I am not able
> to find how to insert chunks similar to the ones contained in the example
> file, with a red rectangle around.
> When I choose the paragraph stype chunk (that is the only one connected to
> KintR that I can see in the list), I can just type commands, I get the red
> text, but the I do not get the nice red rectangle around the chunk. I am
> probably overlooking something completely stupid, but I do not see what...
> Is this verbatim? I do not even remember how to introduce verbatim text in
> Lyx (I have thought that I would get Verbatim in paragraph styles, but I can
> only see Lyx code and it does not put the red rectangle around).
>
> By the way, I do not have any special obsession with the red rectangle, I
> just see that I am not able to reproduce what Yihui has given in the example
> file, and imagine that I am missing some functionality...
>
> Any idea on what I am missing?
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> Bureau : E-331
>
> yi...@u-bordeaux4.fr
>
> http://yildizoglu.info
>
> http://www.twitter.com/yildizoglu
>

Reply via email to