Le 26 nov. 2010 à 19:18, Liviu Andronic a écrit : > The current solutions (the Schunk environment and the use of Sweave > code in ERT insets) are awkward or require unnecessary and > prone-to-error typing. I'd much like to come up with a native LyX > inset for the Sweave code chunks, a design I've once described here > [1]. In short, it would be similar to ERT boxes (1), wrap the contents > of the inset within the "<<>>=" and "@" character and would accept > arguments that would be inserted between "<<" and ">>=" from above.
We might have better chance with the sweave form with Sweave (or whatever) environment but it uses a stupid syntax with an optional argument enclosed in curly braces. JMarc
