Sends a variable to the server, where it is assigned to the variable with a specified name. A JavaScript function
jrc.sendData(variableName, variable) can send data back from the server to the current R session. If variable
name hasn't been previously added to the list of the allowed variables, attempt to assign it from the server will
require manual authorization in the R session.
# NOT RUN {openPage()
x <- 1:100sendData("x", x)
sendCommand("console.log(x);")
sendCommand("jrc.sendData('x', x.filter(function(e) {return e % 2 == 0}))")
closePage()
# }# NOT RUN {# }