Assigning a1<-1, a2<-2, a3<- using for loop in r : <p>I want to make</p>

<pre><code>a1 &lt;- 1
a2 &lt;- 2
a3 &lt;- 3
</code></pre>

<p>I want to use</p>

<pre><code>for (i in 1:3) {
paste("a",i) &lt;- i
}
</code></pre>

<p>but this clearly doesn't work.
Is there any way to this kind of stuff easily?</p>
