Hi, User's List... I'm a new-ish LyX user, otherwise naive to LaTeX. After about 10 hours of frustration, I got LyX to successfully open the Sweave module, and allow me to format text as a Sweave chunk. However, when I View>View [PDF(pdflatex)], I get a list of errors:
Missing \endcsname inserted. LaTeX Error: Missing \begin{document}. Extra \endcsname. Missing \endcsname inserted. Missing \endcsname inserted. LaTeX Error: Environment Schunk undefined. LaTeX Error: Environment Sinput undefined. ...et. cetera... I'm using LyX 2.0.0, R 2.13.0 (64-bit), MikTeX 2.9, Windows 7 (64-bit). The text in my Sweave->LaTeX (pdflatex) converter is: Rscript --verbose --no-save --no-restore $$s/scripts/lyxsweave.R $$p$$i $$p$$o $$e $$r The text in my PATH Prefix box is: $LyXDir\bin;$LyXDir\python;$LyXDir\imagemagick;$LyXDir\ghostscript;C:\Program Files (x86)\MiKTeX 2.9\miktex\bin;C:\Program Files (x86)\LyX20\bin;C:\Program Files\R\R-2.13.0\bin; C:\Program Files\R\R-2.13.0\bin\x86 Are the spaces in the path a problem? Can anyone help to get me Sweave-ing? -- Shane Siers Graduate Student Colorado State University