On Wed, Dec 22, 2010 at 5:33 AM, wrote:
> Hello,
>
> Following Gabor's thread yesterday, I looked into R source code and figure
> that we don't need to test for NA when using numeric vector. See this:
>
> require(inline)
> require(Rcpp)
>
> pl <- cxxfunction( , '
> return List::create(
>
Le mer 22/12/10 13:02, "Gabor Grothendieck" ggrothendi...@gmail.com a écrit:
> On Wed, Dec 22, 2010 at 6:33 AM, i...@r-enthusiasts.com> wrote:
> Also, I'm trying to write the looping internally in
> order to get a better comparison. With the attached file, I
> get:
> The attachment does not see
On Wed, Dec 22, 2010 at 6:33 AM, wrote:
> Also, I'm trying to write the looping internally in order to get a better
> comparison. With the attached file, I get:
The attachment does not seem to have made it through.
--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-
Hello,
Following Gabor's thread yesterday, I looked into R source code and figure that
we don't need to test for NA when using numeric vector. See this:
require(inline)
require(Rcpp)
pl <- cxxfunction( , '
return List::create(
NA_REAL + NA_REAL,
NA_REAL + 1.0,
1