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 <xieyi...@gmail.com>
Web: http://yihui.name


On Fri, Jul 29, 2016 at 11:53 AM, Shivi Bhatia <shivipm...@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)
>

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to