开发者

How to setup R with LyX?

I wish to setup R with LyX. Going through the web I found many resources.

The "o开发者_运维问答fficial" 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.0 with Sweave and pgfSweave on a daily basis. LyX 2.0 comes loaded with a module called Sweave which immediately allows you to use Sweave in your documents. If you plan to use pgfSweave, you need to (a) download the pgfSweave module and (b) install some converters. Details are available in the third link you indicated.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜