Hi,
Thank Dirk first for replying to my previous questions so fast.
Another question:
Suppose I have a function in CPP as
void cppfun(Rcpp::List lst) {
......
}
Then I would like to call this cppfun in R code as say
cppfun(list(a=a, b=b, c=c, ...)), in which
a, b, c could be of different types and their type might be different as
this
function gets called another time. So I would like to know the type of a,
b, c
in the CPP code. Could someone help me out or point to me some other
approaches? Thanks.
Best,
Jiqiang
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel