Re: [R] LyX and Sweave

From: Gorjanc Gregor <Gregor.Gorjanc_at_bfro.uni-lj.si>
Date: Thu 28 Jul 2005 - 00:02:41 EST


[...]

> > Nope. That's what I also thought, but I was really amaized when discovered that
> > there is no need for this. You only need to set up noweb stuff as mentioned at

> > <http://thread.gmane.org/gmane.editors.lyx.general/18847>

> > and use article(noweb) for document style. Then everything (export and view
> > directly from LyX GUI) just works. As I said I was really surprised with it.
> > Try with SweaveNoweb.lyx and you will see. This way, one can skip my silly
> > Sweave.sh ;)

> Ahh, now I get it. Still it needs some polishing, because after
> configuring LyX that way regular noweb will no longer work, but it
> shouldn't take too much of an effort to duplicate the noweb configs in
> LyX to recognise Sweave.

Nice isn't it.

> That certainly looks like the way to go, might give Sweave another
> strong push because people do no longer have to learn all of LaTeX ...

> If we make a clean solution then I think it shouldn't be too hard to
> convince the LyX guys to include it in their distribution -> that
> would make an out-of-the-box solution.

Yes, LyX developers should copy "noweb configuration" to "Sweave configuration" and add small (like yours at Sweave repository) Sweave.sh and additionaly also import configuration you mentioned before. I strongly encourage you to send this to LyX developers.

Gregor



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 28 00:09:19 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:34:03 EST