Re: [Rd] Fwd: Rcpp sugar dpois

2015-11-03 Thread Dirk Eddelbuettel
On 3 November 2015 at 12:16, Enrico Bibbona wrote: | Hi. Here is a piece of cpp code. Somewhat wrong list -- try rcpp-devel for Rcpp questions. | It works, but I do not understand the rational for the use of | "R::dpois" to call the function dpois since in the examples I have always Choice is g

[Rd] Fwd: Rcpp sugar dpois

2015-11-03 Thread Enrico Bibbona
Hi. Here is a piece of cpp code. It works, but I do not understand the rational for the use of "R::dpois" to call the function dpois since in the examples I have always found directly "dpois" or "Rcpp::dpois" that both do not work in my code. Could anyone be so patient to explain me why should it b