Invoke a AWS Lambda function
1 |
This functon has no parameters. The entire local environment will be sent
to the R server. The local environment should have a no-parameter function
called run
. This function will be run, and it's return value will be
placed in the local environment with name result
. Additionally,
any variables the run()
function assigns to the enclosing
environment will be present when rLambdaExecute
returns.
(Note: this functionality is not working, for reasons still to be
clarified. To get the final environment, it is necessary to
execute load("newdata.Rdata")
.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.