opal.execute.source: Execute a R file script

View source: R/opal.execute.R

opal.execute.sourceR Documentation

Execute a R file script

Description

Upload a R file script and execute it in the remote R session with source().

Usage

opal.execute.source(opal, path, async = FALSE)

Arguments

opal

Opal object or list of opal objects.

path

Path to the R file 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).

See Also

Other execution functions: opal.execute(), opal.load_package(), opal.unload_package()

Examples

## Not run: 
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
opal.execute.source(o, "myscript.R")
opal.logout(o)

## End(Not run)

opalr documentation built on Oct. 6, 2023, 5:08 p.m.