allowFunctions {jrc} | R Documentation |
Allow function calls without authorization
Description
Adds R function names to the list of functions, that can be called from a web page without manual confirmation on the R side.
Usage
allowFunctions(funs = NULL)
Arguments
funs |
Vector of function names to be added to the list. If |
Details
This function is a wrapper around allowFunctions
method of class App
.
Value
Names of all currently allowed functions if funs = NULL
.
See Also
allowVariables
, authorize
, openPage
(check argument
allowedFunctions
), callFunction
.
Examples
## Not run:
# to run this example an installed web browser is required
openPage()
allowFunctions(c("myFunction1", "print", "someObject$method"))
funs <- allowFunctions()
closePage()
## End(Not run)
[Package jrc version 0.6.0 Index]