On Fri, Aug 6, 2010 at 3:39 PM,  <julia.jacob...@arcor.de> wrote:
> Hello everybody out there using R,
> When I try to run the command "R CMD Sweave file.Rnw" (R Version 2.11.1) on 
> the command line of Windows 7, an error message tells me that the command 
> "sh" is not known.
> I suppose that R is trying to use a shell script, which can't be interpreted 
> using Windows. However, running Sweave from the R command prompt works fine.
> Anyway, under Linux the command "R CMD Sweave file.Rnw" works also perfectly.
> Is there any possibility to get it working in Windows?
> Thanks in advance!
>
> Wassertemperaturen in Deutschland
> Sommer, Sonne, Strand - wer braucht Abkühlung? Die aktuellen 
> Wassertemperaturen und Windgeschwindigkeiten für Deutschlands Badeseen gibt´s 
> auf arcor.de.
>

Google for Rtools, go to first hit, download and install it being sure
the Rtools bin directory is on your path.  Then try again.

There is also Sweave.bat in http://batchfiles.googlecode.com . If you
use Sweave.bat it will find Rtools in the registry so you don't need
to add the Rtools bin directory to your path.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to