Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

3 results for “from:Jingyu He”

[Rcpp-devel] How to set a default value when call a R function in Rcpp
Jingyu He · Nov 10, 2016 · rcpp-devel

Hi, I'm writing a R package by Rcpp and I have a problem when setting default value when call a R function in Rcpp. Here is an example to pass a R function to C++, provided by http://adv...

[Rcpp-devel] How to set a default value when call a R function in Rcpp
Jingyu He · Nov 11, 2016 · rcpp-devel

It works, thanks a lot! Qiang Kou <qkou at umail.iu.edu>?2016?11?11? ??09:07??? > Hi, Jingyu, > > I post a small example below. I think this is what you want. > > Best, > > KK > > #include <Rcpp.h> > > using namespace Rcpp...

[Rcpp-devel] How to set a default value when call a R function in Rcpp
Jingyu He · Nov 10, 2016 · rcpp-devel

Hi, I've deleted the post on StackOverflow. Sorry for the ambiguity, the problem is not arg, but the Function f. #include <Rcpp.h> using namespace Rcpp; // [[Rcpp::export]] RObject cppfunction(Function rfunction = NULL) { if( rfunction == NULL){ cout << 1 + 1...

Can't find what you're looking for? Try searching with Google .