allowFunctions: Allow function calls without authorization

View source: R/jrc.R

allowFunctionsR 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 NULL, returns names of all currently allowed R functions.

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)


jrc documentation built on Aug. 23, 2023, 5:10 p.m.

Related to allowFunctions in jrc...