On Fri, 26 Oct 2007, Bill Dunlap wrote: > In Splus I use > rapply(expr, classes="call", > f=function(x)if(isComparisonOfAnyOrAll(x))deparseText(x)) > to rattle down an an expression tree looking for this pattern. > However's R's rapply won't let me do that because > it insists its input be a function instead of being of oops, "a list", not "function" > recursive type. Its help file says it evaluates the arguments > to f() even if they are expressions, and that may contribute > to problems. The Splus rapply accepts any recursive type and it does not > evaluate the subtrees that it hands to f().
---------------------------------------------------------------------------- Bill Dunlap Insightful Corporation bill at insightful dot com 360-428-8146 "All statements in this message represent the opinions of the author and do not necessarily reflect Insightful Corporation policy or position." ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel