From gregor.gorjanc at bfro.uni-lj.si  Mon Apr 16 13:01:37 2007
From: gregor.gorjanc at bfro.uni-lj.si (Gregor Gorjanc)
Date: Mon, 16 Apr 2007 13:01:37 +0200
Subject: [Rd] Sweave.sh shell script on CRAN
Message-ID: <46235791.6080308@bfro.uni-lj.si>

Dear developeRs,

Martin Maechler has suggested that I resend this email to R-devel
instead to R-packages for further comments and potential availability
for Windows.

----------------------------------------------------------------------

I have uploaded my Sweave (bash) shell script on CRAN. It is available at

http://cran.r-project.org/contrib/extra/scripts/

In short this script runs Sweave on given Rnw file(s) and post process
produced tex file(s) with LaTeX and friends directly from command line.
It has quite a rich set of command line options to mainly ease the LaTeX
compilation.

Please do not hesitate to contact me in case you find errors or have
suggestions and/or code contributions. I am particularly, interested in
making this script work under Windows.

----------------------------------------------------------------------

I do not have any experience with use of (bash) shell scripts under
Windows. Sweave.sh can be used with Cygwin, but I am not sure how to use
shell script without Cygwin. I noticed that some "scripts" in R*/bin
directory on our Windows machine are perl (build, check, INSTALL, ...)
and shell (Rd2dvi.sh, Stangle.sh, Sweave.sh, ...) scripts. This
therefore means that R ships also perl and shell interpreter or am I
missing something?

Thanks!

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty        www: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     blog: http://ggorjan.blogspot.com
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe            tel: +386 (0)1 72 17 861



[Rd] Sweave.sh shell script on CRAN
Gregor Gorjanc