Re: [R] Sweave does not parse \Sexpr{}

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Wed, 19 Mar 2008 06:48:20 -0400

Werner Wernersen wrote:
> 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?
No. That file works for me, and you've given no details about how you ran Sweave, what version you were using, etc.

Duncan Murdoch



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 19 Mar 2008 - 10:53:02 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Mar 2008 - 11:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive