On 27 July 2017 at 16:47, Serguei Sokol wrote: | Hi Sharat, | | First, few preliminary remarks before answering your question. | 1. Just like every one asking for assistance, your should provide a minimal reproducible example. | 2. Before asking about Rcpp issue, it would be reasonable if you test your comps() function in R, | to be sure that the problem is not in comps() itself (and yes, there is a problem in comps(), cf. hereafter) | 3. It is counter-intelligent to use Rcpp just for calling an R function. Sometimes such calling is | unavoidable but doing _only_ this is a waste of time. Simply call your function directly from R. | Main interest of Rcpp is to easily interface functions written in C++ (which are usually | much faster then their counterparts in R) with R session.
4. Do not crosspost to StackOverflow (or other venues) _and_ post here. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel