allowVariables: Allow variable assignment without authorization

View source: R/jrc.R

allowVariablesR Documentation

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.

Details

This function is a wrapper around allowVariables method of class App.

Value

Names of all currently allowed variables if vars = NULL.

See Also

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

Examples

## Not run: 
# to run this example an installed web browser is required
openPage()
allowVariables(c("myVariable", "anotherOne"))
vars <- allowVariables()
closePage()
## End(Not run)


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

Related to allowVariables in jrc...