setBrowserWindowTitle,BrowserViz-method | R Documentation |
Supply the name of a function to call, identified by its key
## S4 method for signature 'BrowserViz'
setBrowserWindowTitle(obj, newTitle)
obj |
An object of class BrowserViz |
newTitle |
A character string |
library(BrowserViz)
browserVizBrowserFile <- system.file(package="BrowserViz", "browserCode", "dist", "bvDemoApp.html")
if(BrowserViz::webBrowserAvailableForTesting()){
bvApp <- BrowserViz(browserFile=browserVizBrowserFile, quiet=TRUE)
getBrowserWindowTitle(bvApp)
setBrowserWindowTitle(bvApp, "testBrowser")
getBrowserWindowTitle(bvApp)
closeWebSocket(bvApp)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.