Learn R Programming

JOPS (version 0.2.0)

set_window: 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)

Value

open a graphics window.

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).

References

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