WordCloud

This is how we do the visualization in R using package word cloud.

Packages in R
Use the command " install.pacakges('wordcloud') " to install it.

The package manual is available in http://cran.r-project.org/web/packages/wordcloud/wordcloud.pdf

Brief Description
library(wordcloud) set.seed(123) wordcloud(names(freq),freq,min.freq=40)
 * 1) freq records the frequency for each word.

Adding Colors
We should install another packages using " install.packages(RColorBrewer) " library(wordcloud) library(RColorBrewer) set.seed(123) dark_color = brewer.pal(6, "Dark2") wordcloud(names(freq),freq,min.freq=40, colors = dark_color)