I wish to setup R with LyX. Going through the web I found many resources.
The “official” text doesn’t seem to be the most up to date: http://wiki.lyx.org/LyX/LyxWithRThroughSweave
I followed most of the steps here: http://wiki.lyx.org/uploads/LaTeX/SweaveR/lyx_with_r_and_sweave_instructions.pdf
But was it really needed? Or is LyX 2.x makes some of them obsolete?
From reading this post: http://yihui.name/en/2011/05/sweave-and-pgfsweave-in-lyx-2-0-x-experimental/
I was not so sure anymore.
So my question is – what is the most up to date explanation on how to set up and use LyX with R?
Also – what editor do you find it useful to work with in combination with LyX?
Thanks.
I use
LyX 2.0withSweaveandpgfSweaveon a daily basis.LyX 2.0comes loaded with a module calledSweavewhich immediately allows you to useSweavein your documents. If you plan to usepgfSweave, you need to (a) download thepgfSweavemodule and (b) install some converters. Details are available in the third link you indicated.Hope this helps.