 example of a <code>for</code> loop is:</p>
<div class="sourceCode" id="cb396"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb396-1"><a href="loops.html#cb396-1" tabindex="-1"></a><span class="cf">for</span> (i <span class="cf">in</span> <span class="dv">1</span><span class="sc">:</span><span class="dv">5</span>) {</span>
<span id="cb396-2"><a href="loops.html#cb396-2" tabindex="-1"></a>  <span class="fu">print</span>(i)</span>
<span id="cb396-3"><a href="loops.html#cb396-3" tabindex="-1">