All functions

BrowserViz-class

BrowserViz: a base class providing simple, extensible message passing between your R session and your web browser, for interactive data visualization.

BrowserViz()

Constructor for BrowserViz

addRMessageHandler()

Supply the name of a function to call, identified by its key

browserResponseReady(<BrowserViz>)

browserResponseReady

closeWebSocket(<BrowserViz>)

Close the websocket connection - between your R session and your web browser.

dispatchMessage()

Route the message coming in from the browser to the appropriate R function.

displayHTMLInDiv(<BrowserViz>)

Ask the browser to display html markup in the specified div

fromJSON()

Transform JSON string into a native R object

getBrowserInfo(<BrowserViz>)

Retrieve basic attributes of the attached web browser.

getBrowserResponse(<BrowserViz>)

Retrieve the response sent by the browser

getBrowserWindowSize(<BrowserViz>)

Supply the name of a function to call, identified by its key

getBrowserWindowTitle(<BrowserViz>)

Supply the name of a function to call, identified by its key

handleResponse()

handleResponse

port(<BrowserViz>)

Get the port number

ready(<BrowserViz>)

Is the websocket connection to the browser ready for use?

roundTripTest(<BrowserViz>)

Send data to the browser, ensure that it is returned accurately.

send(<BrowserViz>)

Send the specified message to the browser

setBrowserWindowTitle(<BrowserViz>)

Supply the name of a function to call, identified by its key

show(<BrowserViz>)

Display the core attributes of the BrowserViz object to stdout

toJSON()

Transform an R data structure into JSON

wait(<BrowserViz>)

Pause for the specified number of milliseconds

webBrowserAvailableForTesting()

Is there a web browser available for testing?