Re: [R] builtin vs. closure

2009-03-15 Thread Erin Hodgess
Thank you On Sun, Mar 15, 2009 at 8:36 AM, Duncan Murdoch 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

Re: [R] builtin vs. closure

2009-03-15 Thread Duncan Murdoch
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

Re: [R] builtin vs. closure

2009-03-14 Thread Berwin A Turlach
G'day Edna, On Sat, 14 Mar 2009 23:00:12 -0500 Edna Bell wrote: > Anyway, my question now is: what determines if a function is a > builtin vs. a closure, please? The help page of typeof states that: The possible values are listed in the structure 'TypeTable' in 'src/main/util.c'. Current valu

[R] builtin vs. closure

2009-03-14 Thread Edna Bell
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 _