Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R wordcloud2 letterCloud showing only the background

Tags:

r

word-cloud

My Rstudio version is 3.4.1 64-bit on Win10. I have installed the package wordcloud2 via the commands

install.packages('devtools')
devtools::install_github("lchiffon/wordcloud2")

And things went smoothly. Then I tried running the example from the official documentation on R console:

letterCloud(demoFreq, word='R')

Then what comes up is only the background colour, and nothing else at all. Web browser is Chrome 59.0 64-bit. However, the other function wordcloud works quite well.

I suppose this should be a common problem, so hopefully somebody can give me some help, thanks.

like image 889
Vim Avatar asked Jul 11 '17 09:07

Vim


2 Answers

The issue is already raised here: https://github.com/Lchiffon/wordcloud2/issues/12.

Unfortunately, no solution is yet on the table other than refreshing your window.

Also, IE and Firefox seems to work better than chrome.

like image 165
YCR Avatar answered Oct 21 '22 14:10

YCR


You can now reinstall it from GitHub using:

devtools::install_github("lchiffon/wordcloud2")

and it works well. :)

like image 3
Ajal88 Avatar answered Oct 21 '22 16:10

Ajal88