Rcpp Version 0.12.12
functionCallback/RcppFunctionCallExample.cpp

An example providing a class RVectorFuncCall derived from class RcppFunction which implements a vector-values function transformVector(); the class gets initialized with an R function vecfunc passed along using Rcpp.