Skip to content
Prev 5976 / 10988 Next

[Rcpp-devel] When to use SEXP as return value or argument type?

Dear Rcpp Experts,

two simple and short questions:

Do I always have to use SEXP arguments, if I want the method to be
callable from R through the .Call( ? ) function?

Does the return type have to be a SEXP, too, or can I use any Rcpp
class instead?

Kind regards!