Calls a function on the opened web page given its name and arguments.
JavaScript counterpart is jrc.callFunction(name, arguments, assignTo, package)
,
where the package
argument allow to call function from some other
package. The result, however, will be anyway assigned to a variable in the
environment set by setEnvironment
.
For security reasons, if function or variable to which its returned value
should be assigned are not in the lists of allowed functions and variables,
manual authorization of the call form JavaScript in the R session will be
required. For more details check authorize
.