Ha! It's like magic. I think of something, and it's already there.
There's some sort of a UI bug, though. Insert->Custom Insets->Sexpr
creates the inset, but I can't type or paste into it. If I click outside
of the inset and then back into the inset, I can type then. Maybe it has
to do with me using knitr instead of Sweave?
Also, in what R environment is this inset executed, and how does this
interact with knitr's previously cached chunks?
On 1/29/2012 2:30 PM, Yihui Xie wrote:
Thanks, Liviu. I think that is it.
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 Sun, Jan 29, 2012 at 1:21 PM, Liviu Andronic<landronim...@gmail.com> wrote:
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