On 17 February 2016 at 20:28, Diego Monteiro wrote:
| 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.
|
| The code is like the following :
| template<> MyType as (SEXP x){
|
| Rcpp::List dataSource(x);
| [.....]
| }
|
| This is the ERROR:
| An exception has occurried: could not convert using R function : as.list
|
| "x" is a char list.
|
| Thanks for any help.
Can you distill things to a minimal working example? It is pretty hard for
us to say something meaningful otherwise.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel