allowFunctions | R Documentation |
Adds R function names to the list of functions, that can be called from a web page without manual confirmation on the R side.
allowFunctions(funs = NULL)
funs |
Vector of function names to be added to the list. If |
This function is a wrapper around allowFunctions
method of class App
.
Names of all currently allowed functions if funs = NULL
.
allowVariables
, authorize
, openPage
(check argument
allowedFunctions
), callFunction
.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.