Rcpp Version 1.0.9
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.