Hi Hua,
try
options(SweaveSyntax="SweaveSyntaxNoweb")
before sweaving your file (see A.14 in the FAQ section of the manual).
In most cases R2HTML interferes with Sweave, causing your problem
hth.
Am 02.04.2012 15:12, schrieb Liang, Hua:> Did anyone know whether the problem " it doesn't evaluate \Sexpr{}
in Sweave" has been fixed? I checked r help page and realized it was asked
a couple of years ago. But I didn't find solutions.
>
> Thanks for your help in advance!
>
> Hua
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Eik Vettorazzi
Institut f?r Medizinische Biometrie und Epidemiologie
Universit?tsklinikum Hamburg-Eppendorf
Martinistr. 52
20246 Hamburg
T ++49/40/7410-58243
F ++49/40/7410-57790
--
Pflichtangaben gem?? Gesetz ?ber elektronische Handelsregister und
Genossenschaftsregister sowie das Unternehmensregister (EHUG):
Universit?tsklinikum Hamburg-Eppendorf; K?rperschaft des ?ffentlichen Rechts;
Gerichtsstand: Hamburg
Vorstandsmitglieder: Prof. Dr. Guido Sauter (Vertreter des Vorsitzenden), Dr.
Alexander Kirstein, Joachim Pr?l?, Prof. Dr. Dr. Uwe Koch-Gromus