> But still, I don't understand why you consider pmin and pmax as primitives?
>
> Even if they are part of the base package it's not right to consider them as
> primitive of the R language!
>
> You can check:
> .Primitive('pmax')

Well, they're implemented in C code. I don't think R has a good
definition of what a "primitive" of the language is - primitive and
internal functions are interspersed functions in names.c, and there's
no formal spec defining which functions are primitive.

Hadley

-- 
RStudio / Rice University
http://had.co.nz/
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to