lass="sourceCode r"><code class="sourceCode r"><span id="cb398-1"><a href="loops.html#cb398-1" tabindex="-1"></a>i <span class="ot">&lt;-</span> <span class="dv">2</span></span>
<span id="cb398-2"><a href="loops.html#cb398-2" tabindex="-1"></a><span class="fu">print</span>(i)</span>
<span id="cb398-3"><a href="loops.html#cb398-3" tabindex="-1"></a><span class="do">## [1] 2</span></span></code></pre></div>
<p>This process is then repeated until the loop reaches the final value in the sequence (<code>5</code>