[R] Sweave documents have corrupted double quotes

Paul Johnson pauljohn32 at gmail.com
Sat Jan 17 21:15:45 CET 2009


Hey, everybody.

I am concluding that this Sweave wrecks quotation marks in typewriter
font is a bug in Sweave.

I've uploaded the foo.tex file so now you can see the Rnw, tex, and
pdf file side by side.

http://pj.freefaculty.org/latex

As previous poster noted, the Sweave instruction is added at the end
of the preamble in foo.tex. However, moving the \usepackage{Sweave} to
the beginning of the preamble has no effect. Same black boxes.

It is true that one can work around this by inserting the declaration

\usepackage[noae]Sweave

into the Rnw file (or in the tex file).  That solves the problem,
however, the user is left with a suspicious feeling.  What will go
wrong in my output after [noae] is inserted? If nothing, why was it
there in the first place?

pj


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas




More information about the R-help mailing list