[R] Printing localized pdf file from Sweave snippets

2012-09-14 Thread Petar Milin
Hello! I am struggling for quite some time with proper printing of local characters in pdf plot, via Sweave snippets in Rnw file. When I am working directly within R, all is fine and I can get local character properly, like: pdf('figs/fig-relativeEntropy0.pdf', h=6, w=6, encoding='CP1250')

Re: [R] Printing localized pdf file from Sweave snippets

2012-09-14 Thread Duncan Murdoch
On 14/09/2012 7:07 AM, Petar Milin wrote: Hello! I am struggling for quite some time with proper printing of local characters in pdf plot, via Sweave snippets in Rnw file. When I am working directly within R, all is fine and I can get local character properly, like:

Re: [R] Printing localized pdf file from Sweave snippets

2012-09-14 Thread Petar Milin
Hello! Many thanks, but this is not working. I put: \usepackage[utf8]{inputenc} and than: 'pu\u010dina (open-sea)' Blank space is printed in pdf file, after R CMD Sweave and pdflatex. Please, any other idea?! I am losing my mind here... Best, PM This isn't really an answer to your question,