Re: Including LaTeX code produced by Sweave in a LyX document

2009-06-09 Thread obregonmateo
Maybe I missed something ... you don't need to use an external file to do this. Just specify that the results of the sweave chunk is latex. Within ERT bits: ->< ERT ><--- \SweaveOpts{echo=FALSE, print=FALSE} <>= library(xtable) @

Re: Including LaTeX code produced by Sweave in a LyX document

2009-06-09 Thread Jean-Marc Lasgouttes
Le 9 juin 09 à 09:52, christiaan pauw a écrit : Answering my own question for the record To include latex code generated by R through Sweave one has to specify a filename with a .tex extension save the latex files there. In that way Sweave doesnt print the tex code in the pdf document by saves

Re: Including LaTeX code produced by Sweave in a LyX document

2009-06-09 Thread christiaan pauw
Answering my own question for the record To include latex code generated by R through Sweave one has to specify a filename with a .tex extension save the latex files there. In that way Sweave doesnt print the tex code in the pdf document by saves it in the specified place. In LyX these tex docume

Including LaTeX code produced by Sweave in a LyX document

2009-02-27 Thread christiaan pauw
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 suppose