On Sun, Jan 29, 2012 at 8:13 PM, Jack Tanner <i...@hotmail.com> wrote:
> Over the last week or so, I've been playing with the new knitr integration
> (#7887), with really nice results.
>
> There's a very handy Chunk environment for sweave / knitr code. But is there
> any support for inline knitr in LyX? I'm thinking of, e.g.,
>
>  As our experiments showed, the sum of 1 and 1 equals \Sexpr{1 + 1}.
>
> This works if \Sexpr{1 + 1} is placed in an ERT span, but, unlike Chunk,
> that's not a semantic document structure.
>
I'm not sure what you're looking for, but have you tried Insert >
Custom Insets > Sexpr?

Liviu



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail

Reply via email to