title: How to print a vector in a sentence avoiding returning lines
body: <p>I want to print values from a vector in a sentence. But the vector is containing 4 elements, which is causing the answer to be spread across 4 lines. This is what I have:</p>
  
  <pre><code>  yo = c(2902, 2908, 2907, 2918)
  
    cat(paste('You have', yo, 'number of individuals per species\n', sep = ' '))
  
   You have 2902 number of individuals per species
   You have 2908 number of individuals per species
   You have 2907 number of individuals per species
   You have 2918 number of individuals per species
  </code></pre>
  
  <p>But I want something like this </p>
  
  <pre><code>You have 2902, 2908, 2907 and 2918 number of individuals per species
  </code></pre>
  
  <p>Is it possible to do this?  Also, the vector will not be always containing 4 elements. If I have only 3 or 10 elements, it should work. </p>
  
  <p>This is not working: </p>
  
  <pre><code>  cat(sprintf('You have %s number of individuals per species\n',yo))
  
  
    cat(paste('You have', unlist(yo), 'number of individuals per species\n', sep = ' '))
  </code></pre>