Displaying 1 result from an estimated 1 matches for "1_short".
Did you mean:
u_short
2004 Jul 05
1
Apparent conflict between \Sexpr in Sweave and R2HTML
I have come across an apparent bug in the operation of Sweave. If I
load the package R2HTML then execution of \Sexpr{} in an *.Rnw file no
longer works. The \Sexpr{} code is simply written to the *.tex file.
Below are my *.Rnw file, commands, and output.
The Sweave file, Sweave-test-1_short.Rnw:
% -*- mode: noweb; noweb-default-code-mode: R-mode; -*-
\documentclass{article}
\title{A Test File}
\author{Friedrich Leisch}
\SweaveOpts{echo=FALSE}
\begin{document}
\maketitle
Now we look at Gaussian data:
<<>>=
library(stats)
x <- rnorm(20)
print(x)
print(t1 <- t.test(x))...