[R] Sweave does not parse \Sexpr{}

Werner Wernersen pensterfuzzer at yahoo.de
Wed Mar 19 10:53:49 CET 2008


Hi,

has anybody encountered and solved the following
problem?

I continued work now on a different computer where I
have also used Sweave successfully before. I can run
Sweave() and it generates a .tex file. All code chunks
are processed and translated to Latex perfectly fine
but somehow only the \Sexpr{} tags are not parsed. 

This is an example .Rnw:
\documentclass{article}
\usepackage{Sweave}
\begin{document}
What is \Sexpr{3*3}?
\end{document}

And this is the resulting .tex:
\documentclass{article}
\usepackage{Sweave}
\begin{document}
What is \Sexpr{3*3}?
\end{document}

Can anybody give me a hint what's wrong?

Many thanks,
  Werner


      Lesen Sie Ihre E-Mails auf dem Handy.



More information about the R-help mailing list