[Rd] bizarre signif stars in Sweave latex

From: Charles Geyer <charlie_at_stat.umn.edu>
Date: Sun 21 Aug 2005 - 23:55:04 GMT

OK. I give up. I'll ask a stupid question. How do I get the $!#@*$ signif stars line printed by summaries to not look extremely bizarre in the latex produced by Sweave? For example, see p. 7 of

    http://www.stat.umn.edu/geyer/aster/library/aster/doc/tutor.pdf

I can see what the problem is. R emits non-ascii characters (as it is supposed to do), Sweave puts them in the tex file, and latex can't handle them. But I don't see the solution.

Hmmmm. Well I just discovered a kludge

<<foo,include=FALSE,echo=FALSE>>=
Sys.setlocale(category = "LC_ALL", locale = "C") @

at the beginning of the Rnw file. But is that TRT (the Right Thing)?

-- 
Charles Geyer
Professor, School of Statistics
University of Minnesota
charlie@stat.umn.edu

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon Aug 22 10:04:18 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:16 GMT