How to Reduce with paste function with different seperator : <p>For the following operation:</p>

<pre><code>avector&lt;-c("p1","p2","p3")
Reduce(paste,avector)
## "p1 p2 p3"
</code></pre>

<p>I want to get <code>"p1.p2.p3"</code>
Which is applying the paste function in <code>Reduce</code> with separator <code>"."</code>
Please advice.</p>
