title: How to get the length of elements in a character vector in R?
body: <p>Below, I expected that <code>length(group.name)</code> would return <code>3</code>. But it just returns <code>1</code>. Is there a <strong>Base R</strong> solution to get the number of elements of a character vector? </p>
  
  <pre><code>group.name = c("bigii, ggigi, ciggi")
  length(group.name)
  #[1] 1
  </code></pre>