external_graphs: Change Default Graphing Device from RStudio

Description Usage Arguments Details Value Author(s) Examples

View source: R/misc.R

Description

Checks to see if the user is in RStudio. If so, then it changes the device to a popup window.

Usage

1

Arguments

ext

A logical indicating whether the graph should be done externally or internally in RStudio.

Details

Depending on the operating system, the default drivers attempted to be used are:

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. You will have to regraph them.

Value

There is no return value. Instead, once finished, the function will cause a side effect to occur. See details for more.

Author(s)

James Balamuta

Examples

1
2
3
4
5
# Turn on external graphs
external_graphs()

# Turn off external graphs
external_graphs(FALSE)

jjb documentation built on Jan. 8, 2020, 5:07 p.m.