Skip to content
vh-dPublic

About

Execute expressions on a remote R session

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

r2r

Installation

devtools::install_github("vh-d/r2r")

Examples

First, start a server R session and run

library(r2r)
r2r::server()

Next, start a client R session and run:

library(r2r)
r2r::eval_remote(1+1)
r2r::do.call_remote("print", "Hello world!")
r2r::do.call_remote(print, "Hello world!", quote = TRUE)

r2r::eval_remote(a+b, data = list(a = 1, b = 2))
r2r::eval_remote(a <- 1, global = TRUE)
r2r::eval_remote(a+b, data = list(b = 20))

About

Execute expressions on a remote R session

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages