I think some inadvertent cutting and pasting may have made my last e-mail 
difficult to interpret.  Here is the .tex file I get as output of Sweaving my 
.Rnw file.  Note that  "\Sexpr{2+6}" appears where you get (and I want) simply 
"8".



\documentclass[12pt]{article}
\usepackage[margin=1.25in]{geometry}
\usepackage{graphicx}
\usepackage{Sweave}

\begin{document}

\begin{Schunk}
\begin{Sinput}
> pnorm(1)
\end{Sinput}
\begin{Soutput}
[1] 0.8413447
\end{Soutput}
\end{Schunk}


\Sexpr{2+6}

\end{document}

______________________________________________
R-help@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.

Reply via email to