On Thu, Oct 6, 2011 at 2:05 AM, Shane Siers <[email protected]> wrote:
> 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
>
Would have been a breeze on Linux..
> to format text as a Sweave chunk. However, when I View>View
> [PDF(pdflatex)], I get a list of errors:
>
Can you compile examples/sweave.lyx? Else, can you provide a minimal
example of the LyX file that gives you errors?
Liviu
> 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
>
>
--
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