wordcloud2 in R with figPath

284 Views Asked by At

I am working on a word cloud shaped by an image on a jpg or png file. I am using R and its wordcloud2 package with figPath option.

Issuing the following command:

wordcloud2(Word_more_freq,figPath = "unicorno.jpg",size = 1.5, color = "skyblue"),

where Word_more_freq is a data frame and its columns are words and freq (words' frequency), sometimes no image is displayed and other times I can just view the image without the words. No error message is raised.

Could you help me please?

Thanks in advance.

Cheers,

Francesco

0

There are 0 best solutions below