We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d65f3c0 commit c87e4deCopy full SHA for c87e4de
inst/include/Rcpp/Function.h
@@ -111,6 +111,14 @@ namespace Rcpp{
111
Shield<SEXP> x( Rf_findFun( nameSym, env ) ) ;
112
Storage::set__(x) ;
113
}
114
+
115
+ SEXP invoke(SEXP args_, SEXP env) const {
116
+ Shield<SEXP> args(args_);
117
+ Shield<SEXP> call(Rcpp_lcons(Storage::get__(), args));
118
+ SEXP out = Rcpp_fast_eval(call, env);
119
+ return out;
120
+ }
121
122
};
123
124
typedef Function_Impl<PreserveStorage> Function ;
0 commit comments