From gregor.gorjanc at bfro.uni-lj.si  Mon Apr 16 13:53:21 2007
From: gregor.gorjanc at bfro.uni-lj.si (Gregor Gorjanc)
Date: Mon, 16 Apr 2007 13:53:21 +0200
Subject: [Rd] Sweave.sh shell script on CRAN
In-Reply-To: <46235CB6.3050201@stats.uwo.ca>
References: <46235791.6080308@bfro.uni-lj.si> <46235CB6.3050201@stats.uwo.ca>
Message-ID: <462363B1.7000406@bfro.uni-lj.si>

Duncan Murdoch wrote:
>> 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?
> 
> We don't ship Perl or sh.exe, but we do describe how to get them in the
> R Admin manual.

Maybe I got this totally wrong. Say someone who uses Windows finds R and
installs it via setup file. Can he/she launch the folowing without
having Perl and/or sh.exe?

R CMD script whateverOption

> I'd be interested in talking to you about integration of my patchDVI
> functions into your script.  They allow forward and reverse search
> between the .dvi file and the .Rnw file (in yap and xdvi, at least).

I am all ears.

Gregor



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