On Thu, Dec 13, 2012 at 10:55 AM, Yihui Xie <x...@yihui.name> wrote: > Hi, > > One idea about literate programming in LyX has been in my mind for a > while, and I'm wondering how you think about it. I'll take > Sweave/knitr for example: > > One nice feature of R language is that it can be used interactively, > which is very helpful for us to do some experimental or exploratory > analysis before we come up with a final data analysis report. I was > thinking perhaps we could send R code from LyX to R like Emacs/ESS and > RStudio do, e.g. open a system shell or command window from LyX, and > send R code there to be evaluated. At the moment we can only compile > the whole LyX document in a batch manner. > > I have no idea about the implementation. Any feedback is welcome. Thanks!
I wonder if this ticket has something to say about implementation: http://www.lyx.org/trac/ticket/7404 If each inset had an option to "edit externally" then the user could set the "edit command" to whatever he/she wanted. Scott