set_window: Open a graphics window.

View source: R/set_window.R

set_windowR Documentation

Open a graphics window.

Description

Open a a window for graphics, with specified width and height.

Usage

set_window(width = 6, height = 4.5, kill = TRUE, noRStudioGD = TRUE)

Arguments

width

figure width in inches (default = 6).

height

figure height in inches (default = 4.5).

kill

if TRUE (default) closes all graphics windows. Works only for Windows.

noRStudioGD

if TRUE: do not use the RStudio device (which does not accept width and height).

Value

open a graphics window.

Note

Currently only works for Windows!

References

Eilers, P.H.C. and Marx, B.D. (2021). Practical Smoothing, The Joys of P-splines. Cambridge University Press.


JOPS documentation built on Sept. 8, 2023, 5:42 p.m.

Related to set_window in JOPS...