rcw.result {rcloud.web}R Documentation

Create an RCloudWeb result for display

Description

rcw.result creates an object that can be passed out of a function in order to be used as in RCloudWeb, typically by mini.html or similar page using an RCloud session.

rcw.inline can be used to display the result from rcw.result inline inside a cell in RCloud (as opposed to an independent page). It performs the same actions as mini.html.

Usage

rcw.result(run, body, ...)
rcw.inline(result, ...)

Arguments

run

function that will be executed with parsed query arguments in the document once body is loaded

body

string, contents to place in the body DOM element

...

for rcw.result any other objects that are to be passed to the JavaScript side, can also contain functions which become JavaScript functions on the other side.

for rcw.inline any additional arguments that will be passed to the run function of the result (instead of the parsed query string)

result

result from rcw.result that is to be displayed

Author(s)

Simon Urbanek


[Package rcloud.web version 1.0-3 Index]