bringToTop brings the specified screen device's window to the
front of the window stack (and gives it focus). With first argument
-1 it brings the console to the top.
stay = TRUE, the window is designated as a topmost window,
i.e. it will stay on top of any regular window.
stay may only be used
when Rgui is run in SDI mode. This corresponds to the “Stay on top”
popup menu item in Rgui.
bringToTop(which = dev.cur(), stay = FALSE)
a device number, or
whether to make the window stay on top.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.