search for: rcpp_eval

Displaying 3 results from an estimated 3 matches for "rcpp_eval".

Did you mean: app_eval
2020 Mar 24
2
help with rchk warnings on Rf_eval(Rf_lang2(...))
...entSym, x), > R_GlobalEnv)); > > For Rcpp_fast_eval, you may still need to #define RCPP_USE_UNWIND_PROTECT > before including Rcpp.h; as I recall we were seeing too many side effects > in > other packages when globally enabling it. Or you can play it safe and > simply > use Rcpp_eval. > > This really was more of a rcpp-devel question. > > Dirk > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/...
2020 Mar 23
5
help with rchk warnings on Rf_eval(Rf_lang2(...))
Thanks, that's really useful. One more question for you, or someone else here: const ArrayXd glmLink::linkFun(const ArrayXd& mu) const { return as<ArrayXd>(::Rf_eval(::Rf_lang2(as<SEXP>(d_linkFun), as<SEXP>(Rcpp::NumericVector(mu.data(), mu.data() + mu.size())) ), d_rho); } I guess I need that to read
2020 Mar 24
0
help with rchk warnings on Rf_eval(Rf_lang2(...))
...rror"), tryError )); 388: Rcpp::Shield<SEXP> expr( Rf_lang2( stop_sym , condition ) ) ; 395: Rcpp::Shield<SEXP> expr( Rf_lang2( stop_sym , condition ) ) ; inst/include/Rcpp/Reference.h 62: Shield<SEXP> call(Rf_lang2(newSym, str)); inst/include/Rcpp/api/meat/Rcpp_eval.h 99: Shield<SEXP> conditionMessageCall(::Rf_lang2(::Rf_install("conditionMessage"), res)); inst/include/Rcpp/macros/macros.h 69: SEXP expr = PROTECT( Rf_lang2( stop_sym , rcpp_output_condition ) ) ; \ inst/include/Rcpp/Environment.h 36:...