Concatenate two vectors while preserving order in R : <p>This is hard to explain, so I'll try and then leave a simple example. When I concatenate the vectors, I would like the first element of each vector next to each other, then the second elements next to each other, etc. See example below. </p>

<pre><code>x &lt;- c("a","b","c")
y &lt;- c(1,2,3)
c(x,y)
[1] "a" "b" "c" "1" "2" "3"
</code></pre>

<p>However, I would like the following: </p>

<pre><code>[1] "a" "1" "b" "2" "c" "3"
</code></pre>

<p>I'm sure there is an answer on here already, but I'm having trouble putting in the right search. Any help appreciated!</p>
