Pure advertising: http://yihui.name/en/2009/06/creating-tag-cloud-using-r-and-flash-javascript-swfobject/
R itself could not conveniently generating the tag cloud (it's troublesome to handle the fontsize and positions of tags), but there are other mature applications to fulfill this task. I just let R write the tag data into JavaScript and let JavaScript passed the information to the Flash object. Then everything is done!
The function tagCloud() has been included in the R package fun: https://r-forge.r-project.org/projects/fun/ Feel free to register at R-Forge and request to join the fun team.
I'm looking forward to more contributions to this package! (use R for fun)