[Rd] Sweave.sh shell script on CRAN

Gregor Gorjanc gregor.gorjanc at bfro.uni-lj.si
Mon Apr 16 16:38:18 CEST 2007


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



More information about the R-devel mailing list