Description Usage Arguments Value See Also Examples
Execute a R script in the remote R session.
1 | rockr.eval(conn, script, json = FALSE, async = FALSE)
|
conn |
A rockr connection object. |
script |
R script to execute. |
json |
Response is in JSON format or an object serialized by R. Default is FALSE. |
async |
R script is executed asynchronously within the session (default is FALSE). If TRUE, the value returned is the command object to look for. |
The unserialized result object.
Other evaluation functions:
rockr.eval.source()
1 2 3 4 5 6 7 8 9 | ## Not run:
conn <- rockr.connect(username='user', password='password',
url='https://rocker-demo.obiba.org')
rockr.open(conn)
rockr.eval(conn, "x <- 'foo'")
rockr.eval(conn, "ls()")
rockr.close(conn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.