memoizedCall.Rd
Calls a function with memoization, that is, caches the results to be retrieved if the function is called again with the exact same arguments.
# Default S3 method
memoizedCall(what, ..., envir=parent.frame(), force=FALSE, sources=NULL, dirs=NULL)
The function
to be called, or a character
string
specifying the name of the function to be called,
cf. do.call
().
Arguments passed to the function.
The environment
in which the function is evaluated.
If TRUE
, any cached results are ignored, otherwise not.
Returns the result of the function call.