Description Usage Arguments Details Examples
View source: R/functions_utility.R
Checks to see if the user is in RStudio. If so, then it changes the device to a popup window.
1 | set_external(ext = TRUE, width = 10, height = 6)
|
ext |
A |
width |
Width in pixels of the popup window |
height |
Height in pixels of the popup window |
Depending on the operating system, the default drivers attempted to be used are:
OS X: quartz()
Linux: x11()
Windows: windows()
Note, this setting is not permanent. Thus, the behavioral change will last until the end of the session.
Also, the active graphing environment will be killed. As a result, any graphs that are open will be deleted.
1 2 3 4 5 6 7 8 9 | ## Not run:
# Turn on external graphs
external_graphs()
# Turn off external graphs
external_graphs(F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.