Rev 3475 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{Recall}\alias{Recall}\title{Recursive Calling of Itself}\usage{Recall(...)}\arguments{\item{\dots}{all the arguments to be passed.}}\description{\code{Recall} is used as a placeholder for the name of the functionin which it is called. It allows the definition of recursivefunctions which still work after being renamed, see example below.}% \details{%% }\seealso{\code{\link{do.call}} and \code{\link{call}}.}\examples{## A trivial (but inefficient!) example:fib <- function(n) if(n<=2) {if(n>=0) 1 else 0} else Recall(n-1) + Recall(n-2)fibonacci <- .Alias(fib) ## renaming wouldn't work without Recallfibonacci(10) # 55}\keyword{programming}