jrc (version 0.3.0)

allowFunctions: 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.

Value

Names of all currently allowed functions if funs = NULL.

See Also

allowVariables, authorize, openPage (check argument allowedFunctions), callFunction.

Examples

Run this code
# NOT RUN {
openPage()
allowFunctions(c("myFunction1", "print", "someObject$method"))
funs <- allowFunctions()
closePage()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab