closeWebSocket: Close the websocket connection - between your R session and...

closeWebSocket,BrowserViz-methodR Documentation

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

Description

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

Usage

## S4 method for signature 'BrowserViz'
closeWebSocket(obj)

Arguments

obj

An object of class BrowserViz

Examples

library(BrowserViz)
browserVizBrowserFile <- system.file(package="BrowserViz", "browserCode", "dist", "bvDemoApp.html")
if(BrowserViz::webBrowserAvailableForTesting()){
  bvApp <- BrowserViz(browserFile=browserVizBrowserFile, quiet=TRUE)
  show(bvApp)
  closeWebSocket(bvApp)
  }



paul-shannon/BrowserViz documentation built on Nov. 17, 2024, 1:42 p.m.