From gregor.gorjanc at bfro.uni-lj.si  Mon Apr 16 16:38:18 2007
From: gregor.gorjanc at bfro.uni-lj.si (Gregor Gorjanc)
Date: Mon, 16 Apr 2007 16:38:18 +0200
Subject: [Rd] Sweave.sh shell script on CRAN
In-Reply-To: <462387F4.5070506@stats.uwo.ca>
References: <46235791.6080308@bfro.uni-lj.si> <46235CB6.3050201@stats.uwo.ca>	
	<462363B1.7000406@bfro.uni-lj.si> <462381EF.2050009@stats.uwo.ca>
	<971536df0704160713l1a48eb5ak2d6c555b9e4a20a2@mail.gmail.com>
	<462387F4.5070506@stats.uwo.ca>
Message-ID: <46238A5A.2000701@bfro.uni-lj.si>

Duncan Murdoch wrote:
>> Can you just clarify what the dependencies are for
>>
>> Rcmd sweave
>>
>> where Rcmd is the Rcmd command distributed with R that is run
>> from the Windows command line.   Does that require perl or other
>> tools to run?
> 
> That needs sh.exe, not Perl.  But it's just the equivalent of
> 
>  echo "library('utils'); Sweave('filename')" | Rterm --no-restore --slave

Then sweave.bat from batchfiles depends on sh.exe as my Sweave.sh.
However, I guess that above line can also be done with MS command line.

Gregor



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