bindiego
10/5/2015 - 3:04 PM

wordcloud in R

wordcloud in R

library(tm)
library(wordcloud)

setwd("/Users/garlic/workspace/ptone_name")
png(file="wordcloud.png", bg="white",width = 480, height = 480)

colors=brewer.pal(8,"Dark2")
data=read.table("topk.xa", header=F)

wordcloud(data$V2,data$V1,
  scale=c(7,1),
  min.freq=-Inf,
  max.words=60,
  colors=colors,
  random.order=F,
  random.color=F,
  ordered.colors=F)

dev.off()
24 datadeck
14 inchart
10 sharelytics
10 mintbit
9 thinkoro
7 mergical
7 intellier
6 everpivot
5 vizata
3 ever
2 think
2 intelier
2 datadesk
2 data
1 what
1 viizier
1 vez..
1 thinkwhat
1 thinkaroo
1 think..
1 systemica
1 spectrics
1 spectricks
1 spectr..
1 spe
1 sharlytics
1 reckd
1 pro
1 pivotal
1 pivot
1 oro
1 mint...
1 mint
1 mergify
1 mergic
1 mergedeck
1 it
1 intoro
1 interll?
1 intell..
1 inteliller
1 deve
1 deck
1 datima
1 datadect
1 dat
1 analytics