[R] Latex error with Sweave example

sosman sourceforge at metrak.com
Sat Aug 6 01:40:26 CEST 2005

I created a tex file following the example in the Sweave help which 
produced the following files in my working directory.


When I run latex on this, I get a latex error, log file below.  I am 
running R 2.1.1 on Windows XP.  I have installed "small MiKTeX" and I 
have added "C:\Program Files\R\rw2011\share\texmf" to the roots of 
MiKTex.  The MiKTeX test ran fine after I installed it.

Any tips would be most appreciated.

This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4) (preloaded format=latex 
2005.8.5)  6 AUG 2005 09:28
entering extended mode
LaTeX2e <2003/12/01>
Babel <v3.8a> and hyphenation patterns for english, french, german, 
ngerman, du
mylang, nohyphenation, loaded.
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
\c at part=\count79
\c at section=\count80
\c at subsection=\count81
\c at subsubsection=\count82
\c at paragraph=\count83
\c at subparagraph=\count84
\c at figure=\count85
\c at table=\count86
Package: a4wide 1994/08/30

Package: a4 1999/03/03 v1.2f A4 based page layout
! Missing \endcsname inserted.
<to be read again>
l.11 \begin
! Emergency stop.
<to be read again>
l.11 \begin
End of file on the terminal!

Here is how much of TeX's memory you used:
  223 strings out of 95898
  2212 string characters out of 1195177
  46816 words of memory out of 1050593
  3336 multiletter control sequences out of 35000
  3640 words of font info for 14 fonts, out of 500000 for 1000
  14 hyphenation exceptions out of 607
  23i,0n,17p,117b,36s stack positions out of 1500i,500n,5000p,200000b,32768s
No pages of output.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Sweave-test-1.tex
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050806/3f35b51d/Sweave-test-1.pl

More information about the R-help mailing list