Dear all I am trying to configure the LyX 2.0 Sweave module on Windows 7 (64bit) with R 2.11.1 (32bit), but I'm stumped in the config process.
Using RedmondPath [1] I've added C:\Program Files (x86)\R\R-2.11.1\bin to the system path. Then I copied c:\Program Files (x86)\R\R-2.11.1\share\texmf\Sweave.sty to c:\Program Files (x86)\MiKTeX 2.8\tex\latex\sweave\ and reconfigured LyX. Now LyX seems to find Sweave.sty, at least no longer complains of not finding it. However, on a very simple LyX Sweave file containing, in ERT, <<>>= 2+2 @ I get the following error: 22:45:21:421ms: Previewing ... 22:45:21:433ms: (buffer-view pdf2) 22:45:21:490ms: R CMD Sweave "newfile1.Rnw" 22:45:21:700ms: 'sh' is not recognized as an internal or external command, 22:45:21:709ms: operable program or batch file. 22:45:22:018ms: Error previewing format: pdf2 I am not sure what to do about this. Any ideas? Perhaps some documentation that I'm missing? Thank you Liviu [1] http://sites.google.com/site/redmondlab/path -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail