wait,BrowserViz-method | R Documentation |
Pause for the specified number of milliseconds
## S4 method for signature 'BrowserViz'
wait(obj, msecs)
obj |
An object of class BrowserViz |
msecs |
Numeric |
library(BrowserViz)
browserVizBrowserFile <- system.file(package="BrowserViz", "browserCode", "dist", "bvDemoApp.html")
if(BrowserViz::webBrowserAvailableForTesting()){
bvApp <- BrowserViz(browserFile=browserVizBrowserFile, quiet=TRUE)
wait(bvApp, 100)
closeWebSocket(bvApp)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.