Skip to content
Prev 44190 / 63421 Next

Creating functions programmatically

On Oct 3, 2012, at 16:49 , Hadley Wickham wrote:

            
There's also as.function(), although its semantics are a bit arcane. It and the converse as.list.function() have their origin in S-PLUS, where it was commonplace (or relatively so) to treat a function as a list, like in ls[[2]].