R server can be controlled, even if it runs on a different machine.
# Login in opal
library(opal)
o <- opal.login('administrator', 'password', 'http://localhost:8080')
# Assign a table to a data.frame
opal.assign(o,'D','mica_demo.FNAC')
# Analyse data in the remote R session
opal.execute(o,"summary(D)")
# Get data into the local R session
D <- opal.execute(o,"D")
# Terminate remote R session
opal.logout(o)
Was sequential
- R command is executed on Opal 1
- ...
- R command is executed on Opal n
- Results are combined
- R command is submitted to Opal 1, ..., Opal n
- R command result is retrieved from Opal 1, ..., Opal n
- Results are combined