<div dir="ltr"><div>Hello, I'm trying to implement a conversion from a R type into my own Type , but  in the beginning I am getting an error.<br></div><br>The code is like the following : <br><div>template<> MyType as (SEXP x){<br><br>  Rcpp::List dataSource(x);<br>[.....]<br>}<br><br>This is the ERROR:<br>An exception has occurried: could not convert using R function : as.list<br><br></div><div>"x"  is a char list.<br><br></div><div>Thanks for any help.<br></div></div>