Re: [Rd] Major Platform Discrepancies

2015-11-03 Thread peter dalgaard
> On 03 Nov 2015, at 23:04 , Joseph Wood wrote: > > I posted a question on stackoverflow dealing with determining elemental > existence in a vector, and to my surprise, the method that was brutally > slow for me on my PC was insanely fast on one of the member's platform (he > was running Linux).

[Rd] Major Platform Discrepancies

2015-11-03 Thread Joseph Wood
I posted a question on stackoverflow dealing with determining elemental existence in a vector, and to my surprise, the method that was brutally slow for me on my PC was insanely fast on one of the member's platform (he was running Linux). You can view the details here. http://stackoverflow.com/qu

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