external_graphs {jjb}R Documentation

Change Default Graphing Device from RStudio

Description

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

Usage

external_graphs(ext = TRUE)

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


# Turn on external graphs
external_graphs()

# Turn off external graphs
external_graphs(FALSE)


[Package jjb version 0.1.1 Index]