BrowserViz: interactive R/browser graphics using websockets and JSON


[Up] [Top]

Documentation for package ‘BrowserViz’ version 2.12.0

Help Pages

.BrowserViz BrowserViz: a base class providing simple, extensible message passing between your R session and your web browser, for interactive data visualization.
addRMessageHandler Supply the name of a function to call, identified by its key
browserResponseReady browserResponseReady
browserResponseReady-method browserResponseReady
BrowserViz Constructor for BrowserViz
BrowserViz constructor Constructor for BrowserViz
BrowserViz-class BrowserViz: a base class providing simple, extensible message passing between your R session and your web browser, for interactive data visualization.
closeWebSocket Close the websocket connection - between your R session and your web browser.
closeWebSocket-method 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 Ask the browser to display html markup in the specified div
displayHTMLInDiv-method Ask the browser to display html markup in the specified div
fromJSON Transform JSON string into a native R object
getBrowserInfo Retrieve basic attributes of the attached web browser.
getBrowserInfo-method Retrieve basic attributes of the attached web browser.
getBrowserResponse Retrieve the response sent by the browser
getBrowserResponse-method Retrieve the response sent by the browser
getBrowserWindowSize Supply the name of a function to call, identified by its key
getBrowserWindowSize-method Supply the name of a function to call, identified by its key
getBrowserWindowTitle Supply the name of a function to call, identified by its key
getBrowserWindowTitle-method Supply the name of a function to call, identified by its key
handleResponse handleResponse
port Get the port number
port-method Get the port number
ready Is the websocket connection to the browser ready for use?
ready-method Is the websocket connection to the browser ready for use?
roundTripTest Send data to the browser, ensure that it is returned accurately.
roundTripTest-method Send data to the browser, ensure that it is returned accurately.
send Send the specified message to the browser
send-method Send the specified message to the browser
setBrowserWindowTitle Supply the name of a function to call, identified by its key
setBrowserWindowTitle-method Supply the name of a function to call, identified by its key
show Display the core attributes of the BrowserViz object to stdout
show-method Display the core attributes of the BrowserViz object to stdout
toJSON Transform an R data structure into JSON
wait Pause for the specified number of milliseconds
wait-method Pause for the specified number of milliseconds
webBrowserAvailableForTesting Is there a web browser available for testing?