[R] Sweave and LaTeX beamer class

From: Bernd Weiss <bernd.weiss_at_uni-koeln.de>
Date: Mon 20 Dec 2004 - 17:11:31 EST


Hi,

has anyonne experienced problems between the LaTeX beamer class and Sweave? The following code does not work properly:

#################################

\documentclass{beamer}

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ngerman}

\begin{document}
\frame{

  \frametitle{test}
test
<<>>=
 1+1
@
}
\end{document}

#################################

Below is the error code:

#################################

loading : Context Support Macros / PDF (2004.10.26) ) (d:\programme\texmf\tex\latex\hyperref\nameref.sty) (testset.out) (testset.out) (testset.nav)
(d:\programme\texmf\tex\latex\ae\t1aett.fd) Runaway argument?
> 1 + 1 \end {Sinput} \begin {Soutput} [1] 2 \end {Soutput} \end {Sch\ETC.
! Paragraph ended before \FV@BeginScanning was complete. <to be read again>
                   \par

l.26 }

? x
No pages of output.
Transcript written on testset.log.

#################################

Thanks in advance,

Bernd



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Dec 20 16:23:20 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 01:23:49 EST