search for: getfun

Displaying 1 result from an estimated 1 matches for "getfun".

Did you mean: genfun
2013 Feb 15
2
Printing of anonymous functions in calls is sub-optimal
e.g. substitute(f(x), list(f = function(x) x + 1)) # function (x) # x + 1(x) An extra pair of parentheses would really help: (function(x) x + 1)(x) (Better indenting etc would be nice, but not necessary for correct understand of the code) Hadley -- Chief Scientist, RStudio http://had.co.nz/