Hi,<div><br></div><div>Thank Dirk first for replying to my previous questions so fast. </div><div><br></div><div>Another question:</div><div><br></div><div>Suppose I have a function in CPP as </div><div><br></div><div>void cppfun(Rcpp::List lst) {</div>
<div> ......</div><div>}</div><div><br></div><div>Then I would like to call this cppfun in R code as say </div><div>cppfun(list(a=a, b=b, c=c, ...)), in which </div><div>a, b, c could be of different types and their type might be different as this </div>
<div>function gets called another time. So I would like to know the type of a, b, c </div><div>in the CPP code. Could someone help me out or point to me some other </div><div>approaches? Thanks.</div><div><br></div><div>
Best,</div><div>
Jiqiang </div><div><br></div>