Hi Everybody I started using R with LyX (through Sweave) recently (earlier today actually) and can see from here that it has great potential.
R has functions can generate latex tables which is highly cusomizable. When these functions are run using sweave in LyX the do exactly what they are supposed to do and generate Latex code. LyX then typesets the verbatim code perfectly as in the pdf document. What I want is obviously the table and not the latex code that produces the table. When I paste that code into ERT it generate the table perfectly. I now want sweave to generate its output inside something like ERT Is there a way to say to LyX "what follows here is LaTeX and it must be handled like you include ERT" ----latex code generated by sweave comes here ---- "close ERT-like environment" regrads Christiaan