Skip to content
Prev 286274 / 398502 Next

Sexpr not getting expanded in Sweave

On Feb 23, 2012, at 5:22 PM, Michael Kubovy wrote:

            
There have been problems reported over the years on this due to a conflict with the R2HTML package, which you have loaded as indicated above. If you can run your session without that package, try that. Otherwise use:

  options(SweaveSyntax = "SweaveSyntaxNoweb")
  Sweave("test.Rnw")

or

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

This is in the Sweave FAQ and Manual.

HTH,

Marc Schwartz