robject.html#cb70-23"></a>    <span class="cf">else</span></span>
<span id="cb70-24"><a href="200_robject.html#cb70-24"></a>        Rcout &lt;&lt; <span class="st">&quot;unknown</span><span class="sc">\n</span><span class="st">&quot;</span>;</span>
<span id="cb70-25"><a href="200_robject.html#cb70-25"></a>}</span></code></pre></div>
<p>Use <code>as&lt;T&gt;()</code> to convert <code>RObject</code> to another Rcpp type after determining the type.</p>
<div class="sourceCode" id="cb71"><pre class="sourceCode c