Re: [R] Sweave UFT8 problem

2012-04-15 Thread Prof. Dr. Matthias Kohl
try: Sweave("sim_pi.Rnw", encoding = "utf8") Best, Matthias On 15.04.2012 11:41, Philippe Grosjean wrote: Hello, Have you tried to put that command in a comment: %\usepackage[utf8]{inputenc} I haven't tested it in this particular case, but it works in some other situations. Best, Philippe

Re: [R] Sweave UFT8 problem

2012-04-15 Thread Philippe Grosjean
Hello, Have you tried to put that command in a comment: %\usepackage[utf8]{inputenc} I haven't tested it in this particular case, but it works in some other situations. Best, Philippe ..<ยก}))>< ) ) ) ) ) ( ( ( ( (Prof. Philippe Grosje

[R] Sweave UFT8 problem

2012-04-14 Thread Mark Heckmann
Hi, I work on MacOS, trying to Sweave an UFT8 document. AFAI remember R 2.14 used to render a warning when the encoding was not declared when using Sweave. With R 2.15 it seems to render an error. Sweave("sim_pi.Rnw") Error: 'sim_pi.Rnw' is not ASCII and does not declare an encoding Declaring an