[Rcpp-devel] Fwd: Calling R function in Rcpp returns compatibility issues

Dirk Eddelbuettel edd at debian.org
Fri Jul 28 13:50:01 CEST 2017


On 28 July 2017 at 06:38, Dirk Eddelbuettel wrote:
| 
| 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.

5. Never ever send images of data when someone asks for example data.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list