opal.execute | R Documentation |
Execute a R script in the remote R session.
opal.execute(opal, script, async = FALSE)
opal |
Opal object or list of opal objects. |
script |
R script to execute. |
async |
R script is executed asynchronously within the session (default is FALSE). If TRUE, the value returned is the ID of the command to look for (from Opal 2.1). |
Other execution functions:
opal.execute.source()
,
opal.load_package()
,
opal.unload_package()
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.execute(o, "x <- 'foo'")
opal.execute(o, "ls()")
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.