On Sun, Sep 25, 2011 at 10:44 PM, Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote: > Why do you need ERT for sweave (just curious) ? > I always put the code chunks <<>>= 2+2 @
in ERT insets: the ERT "environment" makes it much easier to write and edit code than the Chunk environments (as defined by the module). The latter feel more like Standard, that is for text. On the other hand, ERT feels like a bare-bone text editor. In my early experimentations with the Chunk environment I had noticed several strange surprises (formatting, etc.), and since I switched to ERT I never had one. Cheers Liviu