search for: rf_lang4

Displaying 2 results from an estimated 2 matches for "rf_lang4".

Did you mean: rf_lang2
2020 Mar 24
0
help with rchk warnings on Rf_eval(Rf_lang2(...))
...SEXP expr = PROTECT( Rf_lang2( stop_sym , rcpp_output_condition ) ) ; \ inst/include/Rcpp/Environment.h 36: Shield<SEXP> res(Rcpp_fast_eval(Rf_lang2(asEnvironmentSym, x), R_GlobalEnv)); 250: Shield<SEXP> call(Rf_lang2(internalSym, Rf_lang4(removeSym, str, Storage::get__(), Rf_ScalarLogical(FALSE)))); 376: Shield<SEXP> call( Rf_lang2(getNamespaceSym, package_str) ); inst/include/Rcpp/r_cast.h 34: Shield<SEXP> call(Rf_lang2(funSym, x)); 117: Shield<SEXP> call( Rf_lang2...
2020 Mar 24
2
help with rchk warnings on Rf_eval(Rf_lang2(...))
> Shield<SEXP> res(Rcpp_fast_eval(Rf_lang2(asEnvironmentSym, x), R_GlobalEnv)); The call should be protected before evaluation though. So more like: Shield<SEXP> call(Rf_lang2(asEnvironmentSym, x)); return Rcpp_fast_eval(call, R_GlobalEnv); Best, Lionel On 3/23/20, Dirk Eddelbuettel <edd at debian.org> wrote: > > > On 23 March 2020 at 17:07, Ben Bolker wrote: >