cluster Package cluster performs hierarchical clustering of term vectors. The lj_cluster/ subdirectory contains a command-line tool which performs hierarchical clustering on LiveJournal friends lists.