[R] What is a 'closure'?

Bert Gunter gunter.berton at gene.com
Thu Jan 19 22:21:53 CET 2012


On Thu, Jan 19, 2012 at 1:15 PM, Ajay Askoolum <aa2e72e at yahoo.co.uk> wrote:
>
>
> Thanks for clarifying.
>
> Is my (new) understanding stated below correct?

No.

-- Bert
>
> - A closure is any function (user- or system- defined) where is.primitive(functionName) is FALSE.
>
> - is.primitive(functionName) is FALSE when functionName is a system-defined function that is coded in R itself.
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list