I am trying to use R and ggplot to produce bar charts of word frequency counts from a large spreadsheet, instead of using Excel for this. I have written a function to extrac