Home Comments Thread
New Thread

2 Comments

giscus-bot giscus-bot 2022-12-16 23:07:51
访客 *wenxiao* @ 2013-08-22 12:10:01 写道:

Hi Yihui,

中文字符好像不支持。。有什么解决的办法吗?

例如,下面生成的文档就不行了。

tagData[3,1]
[1] "Animation"> tagData[3,1]="我"

tagData1[3,1]
[1] "我"

tagCloud(tagData, SWFPath = "tagcloud.swf", JSPath = "swfobject.js")
HTML file created at tagCloud.html

yihui yihui 2022-12-16 23:07:54

中文涉及到字体问题,有点复杂。tagcloud.swf的原始作者提过这个问题,但我现在已经不记得了,你得自己研究一下。

——原帖发布于 2013-08-23 04:41:36

giscus-bot giscus-bot 2022-12-16 23:07:55
Guest *Alfred Sun* @ 2014-12-03 09:53:39 originally posted:

I think it can be implemented under the control of JS and CSS, regardless of the language characters.

giscus-bot giscus-bot 2022-12-16 23:07:52
访客 *talgi* @ 2013-08-22 21:11:44 写道:

Ask the same question

Is it possible to input 中文字符?????

yihui yihui 2022-12-16 23:07:53

I think the answer is yes, but I cannot tell you how. Please consult the documentation of tagcloud.swf. I remember it was mentioned somewhere, but that was too long a time ago.

Originally posted on 2013-08-23 04:40:49

Sign in to join the discussion

Sign in with GitHub