Nice Rcpp demo as expected from @jaredlander yet error of using NumericVector but supplying Int vector argument.
Speed up your R code with C++ and the Rcpp package - video example cwrld.us/RcppVideo #rstats by @jaredlander

Aug 7, 2015 · 4:24 PM UTC

1
1
Replying to @eddelbuettel
@eddelbuettel Um...was showing off how R nicely took care of converting it for us...yeah, that's what I was doing.