rockr.command_result: Get result of an asynchronous command

Description Usage Arguments Value See Also Examples

View source: R/commands.R

Description

Get the result of an asynchronous R commands in the remote R session. The command is removed from the remote R session after this call.

Usage

1
rockr.command_result(conn, id, wait = FALSE, rm = TRUE)

Arguments

conn

A rockr connection object.

id

R command ID.

wait

Wait for the command to complete (default is FALSE).

rm

Remove command from the list of asynchronous commands after retrieving the result (default is TRUE).

Value

The command result as an unserialized object.

See Also

Other command functions: rockr.command_rm(), rockr.commands_rm(), rockr.commands(), rockr.command()

Examples

1
2
3
4
5
6
7
8
## Not run: 
conn <- rockr.connect(username='user', password='password',
                      url='https://rocker-demo.obiba.org')
rockr.open(conn)
rockr.command_result(conn, '1234')
rockr.close(conn)

## End(Not run)

rockr documentation built on March 12, 2021, 5:06 p.m.