title: "R": put all elements of a vector into one element without "paste"
body: <p>I have a vector for example <code>test&lt;-c("red","blue","green")</code>. How can i join the elements of the vector into one so i have <code>test&lt;-c("red/blue/green")</code>. </p>
  
  <p>I know I could use <code>paste(test[1],test[2],test[3], sep="/")</code> but that's too much work because my vector has hundreds of elements!</p>
  
  <p>thx for your help!</p>