[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,

[R] Printing to PDF in for

2009-12-14 Thread Trafim Vanishek
Hi everybody, I would like to ask if it is possible using pdf function or some other to print plots in cycle such that every new plot is on new page. like this pdf(file=D:/Plot.pdf,width = 9.25,height=9.25, family=Helvetica,pointsize=8,bg=white) for (i in 1:10){ x - seq(1,40,1) y -

Re: [R] Printing to PDF in for

2009-12-14 Thread Romain Francois
See the onefile and file arguments of ?pdf and then do something like this : pdf( file = plot-%03d.pdf, onefile = FALSE, width = 9.25, height = 9.25, family=Helvetica,pointsize=8,bg=white ) Romain On 12/14/2009 12:09 PM, Trafim Vanishek wrote: Hi everybody, I would like to ask if it is