Re: [R] Sweaving quotes

2010-07-29 Thread Prof Brian Ripley
The alternative is to tell LaTeX what encoding the file is in. For those using UTF-8 locales this means adding the line \usepackage[utf8]{inputenc} Now Murray mentions 'Vista', and so is presumably using cp1252 (the Western-European-language Windows default). That is spported by inputenc,

Re: [R] Sweaving quotes

2010-07-29 Thread Murray Jorgensen
I am happy enough with options(useFancyQuotes = FALSE) (or = TeX) but I will test Brian's suggestion tomorrow and report back. Murray Prof Brian Ripley wrote: The alternative is to tell LaTeX what encoding the file is in. For those using UTF-8 locales this means adding the line

Re: [R] Sweaving quotes

2010-07-29 Thread Murray Jorgensen
I tried \usepackage[cp1252]{inputenc} and it works well, giving cursive directional quotes in the final document. Thank you Brian. I didn't find package ae on the Auckland CRAN mirror so I wonder if it is a LaTeX package. In any case I am happy now! Cheers, Murray Prof Brian Ripley

[R] Sweaving quotes

2010-07-28 Thread Murray Jorgensen
The significance code line to summary() applied to an lm() fitted model object is Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 The corresponding line in the LaTeX source produced by Sweave is Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 which looks the

Re: [R] Sweaving quotes

2010-07-28 Thread Marc Schwartz
On Jul 28, 2010, at 7:43 PM, Murray Jorgensen wrote: The significance code line to summary() applied to an lm() fitted model object is Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 The corresponding line in the LaTeX source produced by Sweave is Signif. codes: 0

Re: [R] Sweaving quotes

2010-07-28 Thread Murray Jorgensen
Thanks, Marc, and also Jay Kearns. After experimentation I think useFancyQuotes = FALSE my be best as TeX style can look a bit funny for R output. Cheers, Murray Marc Schwartz wrote: On Jul 28, 2010, at 7:43 PM, Murray Jorgensen wrote: The significance code line to summary() applied to