getRemoteObject: Get an object from the remote R session.
Get an object from the workspace of the remote R session and load it into the workspace of the local R session.
getRemoteObject(obj, name = NULL)
A character vector containing the names of the R objects in the remote R session to load in the local R session.
The name of an R list object (created if necessary) in the local R session that will contain the R objects from the remote R session. If name
is NULL
, then R objects from the remote R session will be loaded in the GlobalEnv of the local R session.
Complete documentation: https://go.microsoft.com/fwlink/?linkid=836352
list of R objects or NULL
## Not run:
remoteExecute("x<-rnorm(10);y<-rnorm(10);model<-lm(x~y)", writePlots=TRUE)
getRemoteObject("model")
getRemoteObject("model", name="myObjsFromRemote")
## End(Not run)