Re: [R] Apparent conflict between \Sexpr in Sweave and R2HTML

From: <>
Date: Tue 06 Jul 2004 - 18:11:19 EST

>>>>> On Mon, 05 Jul 2004 09:08:38 -0700, >>>>> Scott Waichler (SW) wrote:

> 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.

R2HTML registers another Sweave driver for HTML files, and after that the Syntax for HTML is in the search list before the default syntax.


or calling Sweave like

        Sweave(..., syntax="SweaveSyntaxNoweb")

should do the trick. I'll add this to the Sweave FAQ.

Fritz mailing list PLEASE do read the posting guide! Received on Tue Jul 06 18:15:16 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:43 EST