Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

[R] Re: Run Sweave and LaTeX directly from command line

Friedrich Leisch

2005-02-22

Replies:

>>>>> On Tue, 22 Feb 2005 14:29:00 +0100,
>>>>> Gregor GORJANC (GG) wrote:

> Hello!
> Those of you, who use Sweave a lot, will probably find my shell script
> usable. You can get it at:

> http://www.bfro.uni-lj.si/MR/ggorjan/programs/shell/Sweave.sh

> No warranty, however don't hesitate to contact me if you find an error or
> have a patch!

Very nice!

Side note 1: R ships a version of texi2dvi, hence you might use that
one in case rubber is not found.

side note 2: For make afficionados the follwing 2 rules in combination
with the Sweave script from the FAQ do almost the same (that's what I
use :-)

%.tex: %.Rnw
    Sweave $<

%.pdf : %.tex
    texi2dvi --clean --pdf $<


Best,
Fritz Leisch

--
-------------------------------------------------------------------
               Friedrich Leisch
Institut f��r Statistik              Tel: (+43 1) 58801 10715
Technische Universit?t Wien           Fax: (+43 1) 58801 10798
Wiedner Hauptstra?e 8-10/1071
A-1040 Wien, Austria         http://www.ci.tuwien.ac.at/~leisch

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
©2008 r-help.com - Jax Systems, LLC, U.S.A.