pushObject: Push object to DataSHIELD server

View source: R/push_object.R

pushObjectR Documentation

Push object to DataSHIELD server

Description

This function pushes a serialized object and assigns a server variable to it.

Usage

pushObject(
  connections,
  obj,
  check_serialization = TRUE,
  package = NULL,
  just_return_call = FALSE
)

Arguments

connections

('DSI::connection') Connection to an OPAL server.

obj

(arbitrary R object) Object containing which should be pushed to the server.

check_serialization

('logical(1L)') Check if the serialized model can be deserialized locally (default is 'TRUE').

package

('character(1L)') Package required for model predictions (default is 'NULL').

just_return_call

('logical(1L)') Just return the call and not execute on server (mainly for testing purposes, default is 'FALSE').

Author(s)

Daniel S.

Examples

# Just for local testing:
cl = pushObject("Dummy", iris, just_return_call = TRUE)
all.equal(iris, eval(parse(text = cl)))

difuture-lmu/dsROCGLM documentation built on March 24, 2024, 1:07 p.m.