Learn R Programming

jrc (version 0.2.1)

allowFunctions: Allow function calls without authorization

Description

This function adds function names to the list of functions, which can be called from the web page without manual confirmation in the R session.

Usage

allowFunctions(funs = NULL)

Arguments

funs

Vector of function names to be added to the list. If is NULL, returns names of all currently allowed 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 {
allowFunctions(c("myFunction1", "print", "someObject$method"))
funs <- allowFunctions()

# }

Run the code above in your browser using DataLab