[Rcpp-devel] wrap documentation?

Dirk Eddelbuettel edd at debian.org
Sun Apr 26 01:19:38 CEST 2020


On 25 April 2020 at 16:04, Toby Hocking wrote:
| Hi, can someone please tell me where the return types of wrap are
| documented?

The _return_ value of a wrap() call is by definition always SEXP.
Just how the _input_ for as<>() converters is always a SEXP.

For wrap(), see e.g. Section 3.1 of the JSS 2011 paper which ships as
vignette Rcpp-jss-2011.pdf

Hth,  Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list