R/callback.R

Defines functions new.callback

Documented in new.callback

# Package: rdyncall
# File: R/callback.R
# Description: R Callbacks

new.callback <- function(signature, fun, envir=new.env())
{
  stopifnot( is.character(signature) )
  stopifnot( is.function(fun) )
  stopifnot( is.environment(envir) )
  .Call("new_callback", signature, fun, envir, PACKAGE="rdyncall")
}

Try the rdyncall package in your browser

Any scripts or data that you put into this service are public.

rdyncall documentation built on May 2, 2019, 6:15 p.m.