| Primitive {base} | R Documentation |
.Primitive returns an entry point to a ``primitive''
(internally implemented) function.
The advantage of .Primitive over .Internal
functions is the potential efficiency of argument passing.
.Primitive(name)
name |
name of the R function. |
mysqrt <- .Primitive("sqrt")
c
.Internal # this one *must* be primitive!
get("if") # just `if' or `print(if)' are not syntactically ok.