title: R histogram and descriptive stats on a set of strings
body: <p>I have a vector of strings, with 50 entries where there are only about 7 distinct strings. I would like to plot the distinct strings on the X-axis and their count on the Y-axis and display some descriptive statistics. I would like this to be a histogram, but I get an error from R saying that it does not accept character data.</p>
  
  <p>Which R methods can I use to do this efficiently? I guess what I really need to do is group these 7 distinct items and then get a count of each item, but how do I group in R?</p>
  
  <p>All help is greatly appreciated!</p>