 r"><code class="sourceCode r"><span id="cb401-1"><a href="loops.html#cb401-1" tabindex="-1"></a>i <span class="ot">&lt;-</span> <span class="dv">2</span></span>
<span id="cb401-2"><a href="loops.html#cb401-2" tabindex="-1"></a>i <span class="sc">+</span> <span class="dv">1</span></span>
<span id="cb401-3"><a href="loops.html#cb401-3" tabindex="-1"></a><span class="do">## [1] 3</span></span></code></pre></div>
<p>And so on. We think you get the idea! In essence this is all a <code>for</code> loop is doing a