[R] WordCloud Does not display in RMD File in R Studio

Shivi Bhatia shivipmp82 at gmail.com
Fri Jul 29 18:53:19 CEST 2016


Dear Team,

I have created a text mining solution for one of my business owners.

I am sharing with his using RMD via HTML. All is working ok however the
WordCloud does not populate any output in RMD file.

Few months back when this happened on R studio i searched and used
dev.off() to shut down any concurrent running session but this also does
not help.

Other plots that i have created such ggplot and barpplot they are being
displayed. similarly i can show wordcloud also in R Studio but not on RMD.

Not sure what i am doing wrong as i only get a message staing NULL when i
run wordcloud.
Plz find the code for wordcloud if that helps:
word0<- names(frequency)
png("p3_sa_para.png", 640, 480)


wordcloud(word0,frequency,random.order =F,
colors = brewer.pal(8, "Dark2"),scale = c(5.5,0.5),min.freq = 100,
max.words = Inf)

	[[alternative HTML version deleted]]



More information about the R-help mailing list