Rdocumentation
powered by
Learn R Programming
rgp (version 0.4-1)
new.function: Create a new function stub
Description
Creates and returns a new function stub without capturing any environment variables.
Usage
new.function(envir = globalenv())
Arguments
envir
The new function closure's environment, defaults to
globalenv()
.
Value
A new function that does not take any arguments and always returns
NULL
.