[Rcpp-devel] Template and non-template arguments in RCPP_RETURN_VECTOR

Dirk Eddelbuettel edd at debian.org
Wed Aug 20 15:43:47 CEST 2014


On 20 August 2014 at 14:30, Sven E. Templer wrote:
| Is there an easier way that I am missing, than to use switch/TYPEOF ...?

No because R is a dynamically-typed language and we will only know at
run-time what you are passing down.

Dirk

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


More information about the Rcpp-devel mailing list