[R] How to handle Chinese character in R plot?

Manish Gupta mandecent.gupta at gmail.com
Thu Nov 29 09:42:08 CET 2012


Hi, 

I m working on R plot with Russian label but on windows (adobe) russian text
are not visible. Do i need to install some package to view it.

 pdf("sample.pdf",width = 6.6 ,height = 4.2,family= "URWHelvetica", 
encoding="KOI8-R")
 x<-c(1,2,3,4,5)
 y<-c(2,3,4,5,6)
 xlable<-c("ручка","книга","часы","ложка","смотреть")
 plot(x,y,xlab=xlable)
 dev.off()

Regards



--
View this message in context: http://r.789695.n4.nabble.com/Re-How-to-handle-Chinese-character-in-R-plot-tp4651262.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list