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

Shivi Bhatia shivipmp82 at gmail.com
Fri Jul 29 20:30:36 CEST 2016


Thanks for the suggestion. even without png isnt not working.

I will check this new package. Thank you.

On Fri, Jul 29, 2016 at 11:45 PM, Yihui Xie <xie at yihui.name> wrote:

> Typically you don't need to open the png() device manually. Try
> comment out that line.
>
> BTW, I'm not sure which wordcloud package you were using, but this one
> is the best one I have seen: https://github.com/Lchiffon/wordcloud2
>
> Regards,
> Yihui
> --
> Yihui Xie <xieyihui at gmail.com>
> Web: http://yihui.name
>
>
> On Fri, Jul 29, 2016 at 11:53 AM, Shivi Bhatia <shivipmp82 at gmail.com>
> wrote:
> > 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