R语言实现数据集某一列的频数统计——with和table

with(priority.train, table(From.EMail))

统计priority.train中From.EMail的频数