Hi, I have read some of the documentation relative to character encodings and non-standard fonts (including previous answered questions and the 2006-2 R issue), but I am still struggling with very basic plotting of Chinese text.
I am using R for Mac OS X GUI 1.35-dev Leopard build 32-bit. I have a network, g, of Chinese characters (each node is a Chinese character) and I can handle it and display it fine within R using package igraph. For example, the names of the nodes are correctly displayed: > V(g)$name [1] "精" "神" "市" "场" "思" "想" "什" "么" "地" "区" "科" "学" "历" "史" "没" "有" "自" "己" "影" "响" "改" "革" "关" "这" "一" .... However, when I try to plot this network, node names display incorrectly. I noticed that it is not just node names. Also title, axes names, etc do not display. For example: > x<-c(1,2,3) > plot(x,x,main="title is 精") outputs the image attached. http://r.789695.n4.nabble.com/file/n3276545/Rplot.jpg What is the simplest way to display these non-standard fonts in a R plot? Thanks, Alberto Pepe -- View this message in context: http://r.789695.n4.nabble.com/Plotting-Chinese-characters-tp3276545p3276545.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.