Re: [R] using pdf(file=) encount a Chinese garbled

2014-09-12 Thread PO SU
Tks, it works now , just needing some extra ajustment. -- PO SU mail: desolato...@163.com Majored in Statistics from SJTU At 2014-09-12 12:33:19, Jinsong Zhao jsz...@yeah.net wrote: On 2014/9/11 21:10, PO SU wrote: Dear expeRts, When i use the following codes:

[R] using pdf(file=) encount a Chinese garbled

2014-09-11 Thread PO SU
Dear expeRts,     When i use the following codes:     pdf(file=1.pdf,width=15)     plot(1:3,main=你好)     dev.off() #There were 12 warnings (use warnings() to see them)   I find that 你好 can't show correctly in pdf file, but  i just   plot(1:3,main=你好) to R plot viewer, it's ok .   Is there anyone

Re: [R] using pdf(file=) encount a Chinese garbled

2014-09-11 Thread Jinsong Zhao
On 2014/9/11 21:10, PO SU wrote: Dear expeRts, When i use the following codes: pdf(file=1.pdf,width=15) plot(1:3,main=你好) dev.off() #There were 12 warnings (use warnings() to see them) I find that 你好 can't show correctly in pdf file, but i just plot(1:3,main=你好) to R