pushObject | R Documentation |
This function pushes a serialized object and assigns a server variable to it.
pushObject(
connections,
obj,
check_serialization = TRUE,
package = NULL,
just_return_call = FALSE
)
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'). |
Daniel S.
# Just for local testing:
cl = pushObject("Dummy", iris, just_return_call = TRUE)
all.equal(iris, eval(parse(text = cl)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.