Transfer a file from a sandbox. The source file is transferred from the named (or current) sandbox to the R workflow's file system, overwriting an existing file if one already exists. The sourceFile can be an absolute path if the sandbox is the entire file system (i.e., for standalone R execution) or a path relative to the sandbox (i.e., for Notebook or remote execution or if a sandbox was explicitly created).

sandboxGetFrom(
  sourceFile,
  destFile = NULL,
  overwrite = TRUE,
  sandboxName = NULL,
  base.url = .defaultBaseUrl
)

Arguments

sourceFile

Name of file to read (as absolute path or sandbox-relative path)

destFile

Name of file in the R workflow's file system ... if None, use file name in source_file

overwrite

Name of sandbox containing file. None means "the current sandbox".

sandboxName

Name of sandbox containing file. None means "the current sandbox".

base.url

Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://127.0.0.1:1234 and the latest version of the CyREST API supported by this version of RCy3.

Value

sandboxGetFrom

Examples

# \donttest{
sandboxGetFrom()
# }