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.
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to