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

        options(SweaveSyntax="SweaveSyntaxNoweb")

or calling Sweave like

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

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

Best,
Fritz

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to