Re: [R] sweave problem with special danish characters

2012-08-08 Thread Duncan Murdoch
nt patched version. Duncan Murdoch Regards Jonas -Oprindelig meddelelse- Fra: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sendt: 8. august 2012 16:43 Til: Jonas Hal Cc: r-help@r-project.org Emne: Re: [R] sweave problem with special danish characters On 08/08/2012 6:15 AM, Jonas

Re: [R] sweave problem with special danish characters

2012-08-08 Thread Jonas Hal
I am using win xp, R 2.15.0 and texi2dvi from the tools package. Regards Jonas -Oprindelig meddelelse- Fra: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sendt: 8. august 2012 16:43 Til: Jonas Hal Cc: r-help@r-project.org Emne: Re: [R] sweave problem with special danish characters On

Re: [R] sweave problem with special danish characters

2012-08-08 Thread Ista Zahn
Hi Johas, I've run into a similar problem due to Emacs on OSX setting my locale to "C". If you're on Mac or Linux you can try setting Sys.setlocale(category = "LC_ALL", locale = "UTF-8") before calling Sweave() Best, Ista This doesn't æ ø å and pdf document only contains NA On Wed, Aug 8, 20

Re: [R] sweave problem with special danish characters

2012-08-08 Thread Duncan Murdoch
On 08/08/2012 6:15 AM, Jonas Hal wrote: Dear all, I use Sweave to create my reports. my pdf output contains only NA's whenever my text contains special Danish characters like ø, ø and å. I have upgraded R from 2.13 to 2.15 and the scripts worked fine under R 2.13. Sweave("Test.Rnw", encoding