[R] builtin vs. closure

Edna Bell edna.bell01 at gmail.com
Sun Mar 15 05:00:12 CET 2009


Dear R Gurus:

I'm working slowly through "R Programming for Bioinformatics", which
is really interesting!

Anyway, my question now is:  what determines if a function is a
builtin vs. a closure, please?

For instance:
> typeof(sqrt)
[1] "builtin"
> typeof(mean)
[1] "closure"
>

Thanks,
Edna Bell




More information about the R-help mailing list