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 happen to know the solution? BTW, i explore the encoding argument in ?pdf ,but still can't solve the problem. -- PO SU mail: desolator88 at 163.com Majored in Statistics from SJTU
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 plot viewer, it's ok . > Is there anyone happen to know the solution? BTW, i explore the encoding argument in ?pdf ,but still can't solve the problem. >please refer to: Paul Murrell and Brian Ripley (2006) Non-standard fonts in PostScript and PDF graphics. R News, 6(2):41?47. cran.r-project.org/doc/Rnews/Rnews_2006-2.pdf if you can read Chinese, you also can refer to: newsmth.net/bbscon.php?bid=1039&id=3924 HTH, Jinsong> > > > -- > > PO SU > mail: desolator88 at 163.com > Majored in Statistics from SJTU > ______________________________________________ > R-help at r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >