Description Usage Arguments Examples
Run R commands on remote server. Variables in the local envrioment can be transfered to the remote computer.
1 | remote_r(remote, variables = list(), expression, ...)
|
remote |
( |
variables |
( |
expression |
An expression to run on a remote server. |
... |
Passed to |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
remote <- remote_server$new(server = "shell.somewhere.edu", user = "joeshmo", port = 345)
a = 1:10
f = function(x) {
x = x + 2
x*2
}
remote_r(remote, list(a, f), {
a = a + 3
f(a)
})
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.