各位好,剛剛分享了文字雲在 Mac 上亂碼的問題處理方式 https://github.com/TaiwanRUserGroup/DSC2015Tutorial/issues/28 可是我用同樣的方式執行到後面產生關聯圖形時還是產生亂碼 http://nbviewer.ipython.org/format/slides/github/whizzalan/RTextMining/blob/gh-pages/lightingTalk/lightingTalk.ipynb#/10 後來花了不少時間才找到解決方法 原始網頁:https://lists.nongnu.org/archive/html/igraph-help/2007-07/msg00011.html 解決方式是在原來的語法中加入參數 vertex.label.family="Heiti TC Light" plot(g, vertex.label= nodeLabel, edge.curved=TRUE, vertex.label.cex =1.25, edge.arrow.size=0.2, layout=l)  --> plot(g, vertex.label= nodeLabel, edge.curved=TRUE, vertex.label.cex =1.25, edge.arrow.size=0.2, layout=l,vertex.label.family="Heiti TC Light") 終於可以顯示中文 
Activity