[[R/テキストマインニング]] *** 第5回 インターリュード: TwitterとR http://www.atmarkit.co.jp/fcoding/articles/stat/05/stat05a.html 有向グラフの可視化。 データが実データなので、その加工にまつわる細かなコマンドも。 (head, tail, mergeなど) この連載、序盤は見た目が派手な割に小回りが利かない感じでいまいちだったが、この回は良い。 間にも良い回見逃しているかも。 twitterRがちと古いね。もうinitSessionは無いっぽい。 http://aliquote.org/memos/2011/06/25/playing-with-twitter 最新のドキュメント http://cran.r-project.org/web/packages/twitteR/twitteR.pdf #blockquote(){hatoyama<-getUser("@hatoyamayukio") friends.obj <- hatoyama$getFriends(100) followers.obj <- hatoyama$getFollowers(100) } あとはだいたい同じスクリプトで動く。 ---- [[R/WebTobin向け調査]]