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 | e...@debian.org _______________________________________________ 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