I am using R 2.14.1. I am trying to configure Lyx with Sweave. I have read articles but I found none to be complete and I cannot import sweave document in lyx . Can anyone please help me with a stepwise procedure how to configure Lyx with Sweave so that I can run my R-code chunks from LYX ,the output being a pdf.? Thanks in advance. -Atanu -- View this message in context: http://r.789695.n4.nabble.com/configure-lyx2-0-2-with-sweave-in-windows-32-bit-tp4386871p4386871.html Sent from the R help mailing list archive at Nabble.com.
Duncan Murdoch
2012-Feb-14 14:44 UTC
[R] configure lyx2.0.2 with sweave in windows 32 bit.
On 14/02/2012 7:41 AM, ATANU wrote:> I am using R 2.14.1. I am trying to configure Lyx with Sweave. I have read > articles but I found none to be complete and I cannot import sweave > document in lyx . Can anyone please help me with a stepwise procedure how to > configure Lyx with Sweave so that I can run my R-code chunks from LYX ,the > output being a pdf.?I've never used Lyx, but I've written instructions for several different editors (Winedt, TeXWorks, TeXShop) and you might find those helpful if you need to do it yourself. See http://www.umanitoba.ca/statistics/seminars/2011/3/4/duncan-murdoch-using-sweave-R/ for the most recent, or http://www.stats.uwo.ca/faculty/murdoch/computing for some older ones.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/02/12 13:41, ATANU wrote:> I am using R 2.14.1. I am trying to configure Lyx with Sweave. I > have read articles but I found none to be complete and I cannot > import sweave document in lyx . Can anyone please help me with a > stepwise procedure how to configure Lyx with Sweave so that I can > run my R-code chunks from LYX ,the output being a pdf.?I would really recommend to ask this question on the lyx mailing list (http://www.lyx.org/MailingLists) See you there, Rainer> Thanks in advance. -Atanu > > -- View this message in context: > http://r.789695.n4.nabble.com/configure-lyx2-0-2-with-sweave-in-windows-32-bit-tp4386871p4386871.html > > >Sent from the R help mailing list archive at Nabble.com.> > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the > posting guide http://www.R-project.org/posting-guide.html and > provide commented, minimal, self-contained, reproducible code.- -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer at krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk86dPYACgkQoYgNqgF2egrOpwCfeGsBWH9YjB7vlUyP+A9JFwMz WHsAnAgskN0WvzVIUTWxgZapdOStS/ap =aWJ5 -----END PGP SIGNATURE-----
On 2/14/2012 6:51 AM, Rainer M Krug wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 14/02/12 13:41, ATANU wrote: >> I am using R 2.14.1. I am trying to configure Lyx with Sweave. I >> have read articles but I found none to be complete and I cannot >> import sweave document in lyx . Can anyone please help me with a >> stepwise procedure how to configure Lyx with Sweave so that I can >> run my R-code chunks from LYX ,the output being a pdf.? > > I would really recommend to ask this question on the lyx mailing list > (http://www.lyx.org/MailingLists) > > See you there, > > Rainer > >You can find some instructions that I wrote for installation and a mini-tutorial at https://github.com/NMML/R-User-Meetings. While there are many TeX editors around I find LyX to be a big time saver for table creation amongst others. Also, it allows you to use LaTeX without remembering all of the syntax and still allows you to use LaTeX code as you learn. LyX incorporates a Track Changes feature which is useful because non Tex collaborators can use it for edits with no knowledge of TeX. Rainer is correct that this is better on the LyX mailing list, but maybe this will be to let R users know what is out there to get them into Sweave/LaTeX. It has certainly been useful for me. --jeff