Description Usage Arguments Details Value Author(s) See Also
Define a DOM client for R to communicate with. Several predefined clients are provided.
1 2 3 4 | makeClient(run, kill = NULL, ws = TRUE)
browserClient
phantomClient
rstudioClient
|
run |
A function that will be called to initialise the client.
This function should accept at least a |
kill |
This function will be called to allow the client to shut itself down. It is not required to do anything. |
ws |
A logical indicating what sort of app the client will run. |
The predefined browserClient
opens a window (or tab)
for the default web browser,
the phantomClient
runs PhantomJS (a headless browser),
and the rstudioClient
works with the R Studio Viewer panel.
All clients create a web socket connection with R.
A "DOMclient"
object.
Paul Murrell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.