(sub_id)<span class="op">$</span></span>
<span id="cb1-6"><a href="#cb1-6"></a>    <span class="kw">create_resource_group</span>(rg_name, <span class="dt">location=</span>rg_location)</span>
<span id="cb1-7"><a href="#cb1-7"></a></span>
<span id="cb1-8"><a href="#cb1-8"></a><span class="co"># insert your desired Custom Vision resource names here</span></span>
<span id="cb1-9"><a href="#cb1-9"></a>res &lt;- rg<span class="op">$</span><span class="kw">create_cognitive_service</span>(custvis_resname,</span