tata

wordcloud package: get “Error in strwidth(…) : invalid 'cex' value”

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am using the tm and wordcloud packages in R 2.15.1. I am trying to make a word cloud Here is the code: maruti_tweets = userTimeline ( "Maruti_suzuki" , n = 1000 , cainfo = "cacert.pem" ) hyundai_tweets = userTimeline ( "HyundaiIndia" , n = 1000 , cainfo = "cacert.pem" ) tata_tweets = userTimeline ( "TataMotor" , n = 1000 , cainfo = "cacert.pem" ) toyota_tweets = userTimeline ( "Toyota_India" , n = 1000 , cainfo = "cacert.pem" ) # get text maruti_txt = sapply ( maruti_tweets , function ( x ) x$getText ()) hyundai_txt = sapply (