On Fri, 3 Jul 2015, Jean-Marc Lasgouttes wrote:

In 2.1.x, you can use the Chunk custom inset instead of ERT; it handles transparently the <<>>=...@ syntax.

Jean-Marc,

  I do not see such an environment.

The document suffix is .lyx. When you want to preview, LyX outputs a .Rnw
file, runs sweave on it, which creates a .tex file and finally runs LaTeX.
This is all completely transparent.

  So I learned after reading the Sweave-manual.

Please try again, and give us the error messages that you get, if any.

  Same error message: Sweave cannot find the b.cast data frame.

Thanks,

Rich

Reply via email to