jrc (version 0.3.0)

allowVariables: Allow variable assignment without authorization

Description

This function adds variable names to the list of variables, that can be modified from a web page without manual confirmation on the R side.

Usage

allowVariables(vars = NULL)

Arguments

vars

Vector of variable names to be added to the list. If NULL, returns names of all currently allowed variables.

Value

Names of all currently allowed variables if vars = NULL.

See Also

allowFunctions, authorize, openPage (check argument allowedVariables), sendData.

Examples

Run this code
# NOT RUN {
openPage()
allowVariables(c("myVariable", "anotherOne"))
vars <- allowVariables()
closePage()
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace