Thank you On Sun, Mar 15, 2009 at 8:36 AM, Duncan Murdoch <murd...@stats.uwo.ca> wrote: > On 15/03/2009 12:00 AM, Edna Bell wrote: >> >> 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? > > Closure is the normal type of function written in R code. The other special > types are built in to R; users can't create them except by modifying the R > source code. For details see the R Internals manual. > > Duncan Murdoch > >> >> For instance: >>> >>> typeof(sqrt) >> >> [1] "builtin" >>> >>> typeof(mean) >> >> [1] "closure" >> >> Thanks, >> Edna Bell >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
-- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodg...@gmail.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.