[R] Running Sweave directly from Windows command line

julia.jacobson at arcor.de julia.jacobson at arcor.de
Fri Aug 6 21:39:03 CEST 2010


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.



More information about the R-help mailing list