title: creating string of numbers seperated by commas
body: <p>I am trying to create a comma separated string exactly like this to put in a url: <code>1,2,3,4,5</code> but when I try: <code>paste0(1:5,sep=",")</code> it returns: <code>[1] "1,"  "2,"  "3,"  "4,"  "5,"</code> The spaces are causing issues. How do I get rid of them?</p>
  
  <p>This is not the same question as: <a href="https://stackoverflow.com/questions/6347356/creating-a-comma-separated-vector">this SO post</a> the solution is almost the same, but the question approaches it from a different angle. My question is trying to suppress the spaces, the linked question wants them.</p>